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

Currently, the [spec says]()

> If one of the angles has the value NaN, then for interpolation, NaN is replaced by the value of the other hue angle. If both angles have the value NaN, then for interpolation, NaN is replaced by the value 0 for both angles.

(we already have [Achromatic colors converted to hue-ish spaces should treat hue as "missing", not NaN]( https://github.com/w3c/csswg-drafts/issues/6107) so don't focus on the specific `NaN` or `missing`)

This avoids the area of not-really-perceptually-uniform by making the cutoff between "has a defined hue" and "achromatic" very close to the achromatic axis, so we et well defined behavior in all cases.

Is that sufficient, or is more needed?

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


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

Received on Friday, 3 September 2021 16:52:53 UTC