d3 / d3-color

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

Define achromatic behavior. #45

Closed mbostock closed 6 years ago

mbostock commented 6 years ago

/cc @danburzo

danburzo commented 6 years ago

Looks good to me! 👌 I tried it myself with rounding the chroma, but this is better.

mbostock commented 6 years ago

Merged with #43 into #46.