Re: [csswg-drafts] [css-color-5] Undefined Hue angle when interpolating from neutrals (#4928)

When interpolating a color whose hue is undefined with a color with a defined hue, it works well for the undefined hue to be considered equal to the defined one. 

A `lab(L 0 0)` color (equivalent to the deprecated `gray()` syntax) will produce `lch(L 0 0)`. When a color authored in a different color space is converted to `lch()` and its chroma ends up 0, it's fair to consider its hue undefined, to enable the behavior above. However, when authored in `lch()` directly, a color with zero chroma (e.g. `lch(50 0 0)`) I guess we should honor the explicit hue?

GitHub Notification of comment by danburzo
Please view or discuss this issue at using your GitHub account

Received on Sunday, 5 July 2020 15:56:30 UTC