- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Thu, 30 Mar 2023 13:41:45 +0000
- To: public-css-archive@w3.org
@facelessuser I think I am starting to get what you are saying. Interpolation as specified can lead to achromatic colors **with** high chroma. These are not real colors but purely intermediary results. As specified : 1. convert `white` from srgb to `oklch` 1.1. the result is `oklch(1 none none)` 2. convert `white` from srgb to `oklch` 2.1. the result is `oklch(0.45 0.31 264.05)` 3. fill in missing components 3.1. the result is `oklch(1 0.31 264.05)` If `oklch(1 0.31 264.05)` is used as-is it will be pure white because `L` is `1` But what if `L` is not `1` or `0`? ```css color-mix(in oklch, oklch(1 none none) 99.99%, oklch(0.45201 0.31321 264.05)) ``` That will indeed be a super saturated, near 100% lightness blue-isch. But I still fail to see where the issue is in having super saturated colors that are near 100% lightness? ---- The visual examples are indeed adding confusion. Is it correct that what we are seeing there is clipping of out of gamut colors? ----- > why what you are suggesting makes no sense To clarify, I am not suggesting anything here :) I found an inconsistency between two specification. This inconsistency is meaningful and resolving this in either direction affects examples and implementations. Aside from this inconsistency in the spec text, the implementations in browsers also happen to be bogus and wildly different. This is important because that means isn't a web compat issue, the specification can be changed. -- GitHub Notification of comment by romainmenke Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8609#issuecomment-1490327637 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 30 March 2023 13:41:47 UTC