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

I think the red/redder example is a sidetrack because it starts from an incorrect assumption.

It makes the assumption that `color(display-p3 1 0 0)` is a redder `red` but that is untrue.

- `red` is `color(display-p3 0.92 0.2 0.14)` (notice that the green and blue channels have different non-zero values)
- `color(display-p3 1 0 0)` is a slightly different hue and is also brighter than `red`

Gamut mapping from `color(display-p3 1 0 0)` to `srgb` color space does not result in `red` because it never was a redder `red`. It will contain traces of the source being a different hue and being brighter.


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


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

Received on Thursday, 30 November 2023 18:29:50 UTC