You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested in a browser, lch(100% 0 NaNdeg) is an invalid color value. I would expect the css method to always provide a valid color value, even if the color doesn't necessarily make sense in the given color space.
I believe this issue is not a duplicate of #322, as the css method previously took care when handling NaN, regardless of whether hsl included NaN in its output:
Hey! With chroma.js 3.0.0, the
css
method seems to produce invalid values for certain colors:Tested in a browser,
lch(100% 0 NaNdeg)
is an invalid color value. I would expect thecss
method to always provide a valid color value, even if the color doesn't necessarily make sense in the given color space.I believe this issue is not a duplicate of #322, as the
css
method previously took care when handlingNaN
, regardless of whetherhsl
includedNaN
in its output:The text was updated successfully, but these errors were encountered: