/d3-color

Color spaces! RGB, HSL, Cubehelix, CIELAB, and more.

Primary LanguageJavaScriptISC LicenseISC

d3-color

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.)

Resources