d3-color
Color spaces! RGB, HSL, Cubehelix, CIELAB, and more.
https://github.com/d3/d3-color
d3.js:color
d3.js.icon