Re: [csswg-drafts] [css-color-4] Achromatic colors converted to hue-ish spaces should treat hue as "missing", not NaN (#6107)

> since you only produce NaN via writing erroneous code

No, that is incorrect.

> the actual behavior doesn't much matter anyway;

It really does matter, as the cases cited demonstrate.

> Right now, this "missing hue" situation is solely caused by interpolation

No, it is cased by colorspace conversion regardless of whether you plan to interpolate it

> in a hue-ful space, 

The correct term here is [cylindrical polar color representation](https://drafts.csswg.org/css-color-4/#cylindrical-polar-color) btw

> when an achromatic color is originally defined in a hue-less space. 

Right, when an achromatic color is converted to a CPCR

> It never shows up in a way that actually gets exposed to users, 

It sure does

> since the intermediate interpolation has a well-defined hue at all times.

Happens outside of interpolation.


-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6107#issuecomment-803193992 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 19 March 2021 23:44:30 UTC