- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Sat, 18 Jan 2025 21:33:40 +0000
- To: public-css-archive@w3.org
LeaVerou has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-5] Make interpolation method optional in `color-mix()`? == In #6051 we made the color space argument mandatory in `color-mix()` per editor discretion, with the explicit intent to remove it later. In #7948 we resolved to use OkLab by default in gradients. Gradients not requiring an interpolation space and `color-mix()` requiring one introduces an inconsistency. Additionally, most authors are not making the informed choice people thought they would, from what I've seen they more often than not just use `srgb` because that's what they're familiar with, even though it literally produces the _worst_ results out of every interpolation method! So the base case of using `color-mix()` is very verbose with little benefit. I think the time has come to just default to OKLab. If in the future we introduce a way to specify a default for all color interpolation (which has been discussed in a bunch of issues) even better — the function will be ready for it. But I don't think it makes sense to hold off on a default forever because a better color space may come along at some point. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11532 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 18 January 2025 21:33:41 UTC