Even though your browser understands a lot about colors, it doesn’t offer much help in manipulating colors through JavaScript. The d3-color module therefore provides representations for various color spaces, allowing specification, conversion and manipulation. (Also see d3-interpolate for color interpolation.)
d3 / d3-color Goto Github PK
View Code? Open in Web Editor NEWColor spaces! RGB, HSL, Cubehelix, CIELAB, and more.
Home Page: https://d3js.org/d3-color
License: ISC License