most-used-color

Find the most used pixel color in an image.

Usage no npm install needed!

<script type="module">
  import mostUsedColor from 'https://cdn.skypack.dev/most-used-color';
</script>

README

most-used-color Build Status

Find the most used pixel color in an image.

Install

$ npm install --save most-used-color

Usage

const mostUsedColor = require('most-used-color');

mostUsedColor('unicorns');
//=> 'unicorns & rainbows'

API

mostUsedColor(input, [options])

input

Type: string

Lorem ipsum.

options

foo

Type: boolean
Default: false

Lorem ipsum.

License

MIT © Chris Vandenberg