Rothko.js
get dominant, chroma, achroma, and point colors in photo, with some data of colors.
Install
requirejs
commonjs
script tag
You should install latest version of dependencies, chroma, drawing-kit, histogram-analyze.
...
Usage
browser
var img = ;imgsrc = "path/to/image"var roth = ; img { var colors = roth; console;}