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

> Isn't it confusing to go beyond the scope of CSS and expected browser behavior?

I'm not going beyond the scope of CSS, but I'm using a tool to demonstrate the behavior. So, let me summarize as I think I understand now where you went wrong.  I was focused on your RGB results. You were both right and wrong, so I'm thinking maybe you made a typo?

Here is your original statement.

> 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)`

While `oklch(75% 25% 0deg)` is correct, `rgb(230, 150, 136)` is not correct.  The RGB value can only be acquired by treating the hues as not powerless.

The correct result is `rgb(226, 147, 171)` which your tool also demonstrates.

<img width="869" alt="Screenshot 2023-08-22 at 8 06 25 AM" src="https://github.com/w3c/csswg-drafts/assets/1055125/0292abc6-bd29-4d30-a960-99353433194d">



-- 
GitHub Notification of comment by facelessuser
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8609#issuecomment-1688262316 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 14:08:59 UTC