node-dominant-color
v1.0.0
Published
Extracts the dominant color from an image buffer
Downloads
3
Readme
Dominant Color
dominant-color is an easy to use, accurate and blazing fast ES6 library that helps you get the dominant color of an image.
Installation
npm install node-dominant-color
Usage
const dominant = require('node-dominant-color')
console.log(dominant(buffer)) // #FF0000