Re: [w3ctag/design-reviews] CSS Color: lab(), lch() (#488)

@dbaron, thanks for cc'ing me into this issue.

> I think one thing we should perhaps look at is whether other parts of the Web platform (e.g., canvas) need things to prepare for colors that are outside of the sRGB gamut.

Yes, they do. This was [discussed previously in TAG review](https://github.com/w3ctag/design-reviews/issues/315) although that issue stalled on waiting for responses from the original poster.

The Color on the Web Community Group is working on a [draft report for HDR on the Web](https://w3c.github.io/ColorWeb-CG/); although the focus is on HDR, Wide Color Gamut is also being examined and all parts of the web platform will need some changes to get outside the sRGB gamut while maintaining both backawrds compatibility and future extensibility.

@felipeerias wrote:
> My main question at the moment is whether it would make sense to implement Lab-like selection and interpolation using the browser's existing color infrastructure (i.e. with clamped outputs), or whether it would be necessary to spec and implement general support for wider gamuts first.

Good question From discussions with @tabatkins I understood that Chromium infrastructure had an internal datatype, a 16bit [scRGB](http://www.color.org/chardata/rgb/scrgb.xalter) which (because it can go below 0.0 and above 1.0) could in principle be used to express a wider gamut than sRGB?



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/488#issuecomment-605393842

Received on Saturday, 28 March 2020 04:40:19 UTC