Re: [csswg-drafts] [css-color-4] Define color interpolation in one place, reference that in other specs (#5883)

By the way, as CSSWG already discussed, how to interpolate colors also depends on why you are interpolating _for_. As an example, compositing should be done in a linear-light space like CIE Lab. So Compositing-1 needs updating there; it currently only allows compositing in gamma-encoded sRGB. Filters-1 likewise needs updating (it currently only allows linear-light sRGB). And the definitions of gradients in CSS Images-4 need updating (again they are restricted to gamma-encoded sRGB, so you can't interpolate sRGB to P3 for example).

I'm not prepared to hold up CSS Color 4 while all those other specs get their wider-than-sRGB upgrades.

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


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

Received on Wednesday, 20 January 2021 18:36:04 UTC