Re: [csswg-drafts] [css-color-4] [css-color-5] inconsistent mentions of powerless components in `white`. (#8609)

_I can't guarantee correctness, but our implementation is up to date with the specification._

current specification :
- `0%` or `100%` lightness doesn't make any component powerless
- `0` chroma makes the hue component powerless

`100%` lightness :
- `color-mix(in oklch, oklch(100% 50% 60deg), oklch(50% 50% 0deg))`
- nothing is powerless
- is a simple linear interpolation of components
- result is `oklch(75% 50% 30deg)` or roughly `rgb(255, 125, 104)`

`0%` chroma  :
- color-mix(in oklch, oklch(75% 0% 60deg), oklch(75% 50% 0deg))
- hue is powerless
- hue isn't interpolated, instead it is taken from the other color
- result is `oklch(75% 25% 0deg))` or roughly `rgb(230, 150, 136)`

You can play around with these values here : https://preset-env.cssdb.org/blog/css-color-parser-v1.0.0/

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


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

Received on Tuesday, 22 August 2023 06:32:41 UTC