gka/chroma.js
View on GitHub ↗ ★ 10,602 JavaScript
JavaScript library for all kinds of color manipulations
6 mentions on Hacker News by 5 people: 1 story, 5 comments · first 2012-05-27 · latest 2023-08-29
20082026
-
This is the library the author references. I’ve used it myself and it works great https://github.com/gka/chroma.js
comment by todd3834 · 2023-08-29 · in Accessible Palette: stop using HSL for color systems (2021) -
…so that I can just pick out the hcl() function, for example, if that’s all I want. [0]: https://github.com/gka/chroma.js [1]: https://bundlephobia.com/result?p=chroma-js
comment by chrismorgan · 2020-05-22 · in Show HN: I Made JavaScript Color Conversion Library for LCH/Lab/XYZ/RGB/Hex/HSL -
▲ 66
Chroma.js – A JavaScript library for color conversions and color scalesstory by hising · 2014-11-13 · 6 comments
-
…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
comment by mxfh · 2014-05-31 · in RandomColor – a color generator for JavaScript -
Great tool, it heavily uses chroma.js http://vis4.net/blog/posts/avoid-equidistant-hsv-colors/ https://github.com/gka/chroma.js The HCL color space is also available in this d3 module: https://github.com/d3/d3-plugins/tree/master/cie
comment by mxfh · 2013-02-11 · in "I Want Hue" – Colors for Data Scientists -
…[3] colormap, which are all designed with these perceptual considerations in mind [4]. [1] https://github.com/gka/chroma.js/wiki/Predefined-Colors [2] http://matplotlib.sourceforge.net/examples/pylab_examples/sh... [3]…
comment by gammarator · 2012-05-27 · in Don't use Scatterplots