gka/palettes

White tones break the hue line

korompaiistvan opened this issue · 0 comments

Immensely helpful tool!
I found a small, minor bug: as you can see on the screenshot, the hue line breaks in the middle for diverging scales due to white's hue calculation resulting in NaN. I believe the issue is in chroma.js.

image