d3 / d3-color

Color spaces! RGB, HSL, Cubehelix, CIELAB, and more.
https://d3js.org/d3-color
ISC License
398 stars 91 forks source link

Add d3.lch, d3.gray aliases. #47

Closed mbostock closed 6 years ago

mbostock commented 6 years ago

d3.lch is a convenience wrapper on top of d3.hcl with inverted argument order.

d3.gray is a convenience wrapper on top of d3.lab with a = b = 0.