dominant-color
Gets dominant colour of an image. ~10 times faster than color-thief because it uses plain old imagemagick instead of canvas.
installation
npm install dominant-color
example
var color = imgPath = './path/to/your/image.jpg'
Options:
format
- 'hex' or 'rgb', defaults to 'hex'
alternatives
license
ISC