Color-thief
color-thief
Grab the color palette or dominant color from an image!
color-thief
helps to grab get the dominant color or the color palette from an image, this module makes use of JS, some cool math and the canvas tag to make it happen.
Get it: npm install --save color-thief
Sample usage:
1 2 3 4 5 6 7 |
|
1 2 3 4 5 6 7 |
|
GIF FTW!