137 points · by dgam · 12y ago · 28 comments
Since HSV is NOT perceived as evenly distributed to the human eye along the value(lightness) axis[1],
would recommend employing chroma.js[2] which uses the HCL and CIE color spaces, which in general yield more pleasing results for use in color scales.
[1] http://vis4.net/blog/posts/avoid-equidistant-hsv-colors/
[2] https://github.com/gka/chroma.js
i want hue might be a bit of overkill though: http://tools.medialab.sciences-po.fr/iwanthue/index.php
In general, I’d recommend people use the CIECAM02 color space for most of the purposes being discussed in this thread. Here’s my implementation: https://github.com/jrus/chromatist
https://github.com/danieldk/quzah
I am no expert in this field, I just implemented the work of C.A. Glasbey, et al., 2006 :). We use it in one visualisation and the result is pleasing to my eye ;).
"Picking a range of colors": http://wiki.tcl.tk/38935
http://martin.ankerl.com/2009/12/09/how-to-create-random-col...
[0] https://github.com/heydenberk/stochator [1] https://github.com/heydenberk/stochator#from-predefined-sets