Re: [csswg-drafts] [css-color-5] Should `color-mix()` default to oklab interpolation? (#10484)

> Edit : filed an issue [mdn/content#34351](https://github.com/mdn/content/issues/34351)

To quote my comment there:

> It’s even more concerning that the very first example uses `in srgb`, indicating that the documentation author also didn’t understand the purpose of that argument, which may explain the lack of explanation about it. `in srgb` should almost _never_ be used, except for very specific niche cases. Basically, unless you have a reason to interpolate in sRGB, don’t interpolate in sRGB.
> 
> There is another example showing what the different hue interpolation keywords do, but no mention of _why_ you might want to use each of them. They’re basically just enumerated.

If anything, this MDN page highlights precisely _why_ we need a default here.

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


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

Received on Sunday, 23 June 2024 13:30:16 UTC