Re: [csswg-drafts] [css-color-4] (ok)lch implementations break the entire purpose for authors (#9449)

> So that demo has [`oklab(90% 0.36 0)`](https://colorjs.io/apps/convert/?color=oklab(90%25%200.36%200)&precision=6) which is out of gamut for all RGB colorspaces (even `prophoto-rgb`) and is `rgb(152.937% 10.3745% 83.2625%)`.

Thanks for the walkthrough of the issue here. I made a [Codepen](https://codepen.io/jamessw/full/jOdYmRG) that compares the CSS Algorithm outputs for sRGB and display-p3 with a naive clip (and a comparison with the browser's adjustment, so we can compare when that is fixed).

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


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

Received on Wednesday, 29 November 2023 15:44:18 UTC