image-palette-finder - A short algorithm to find the most prominent color in pictures
Ripped from colorfinder ❤️ @pieroxy
A short algorithm to find the most prominent color in pictures
Usage
Basic
;
Advanced
var colorfinder = {return Math*Math + Math*Math + Math*Math/65535*50+1;} ;
Methods
getImageData()
Return the image data
getMostProminentColor()
get the most prominent color
Package management
Install with Bower 🐦 bower install image-palette-finder
Install with npm npm install image-palette-finder
MIT license
classie is released under the MIT license.