- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Thu, 20 Oct 2022 18:40:41 +0000
- To: public-css-archive@w3.org
> I don't know how I would teach this besides: yeah, sorry, you'll just have to memorize it, or look it up every time. This is a fair point. Adding more spaces just makes the teaching burden harder though. > "Why is this space there" > "Well this _other_ space was there, for historical reasons. So we added a bunch of spaces you should never use, to replicate that mistake" Also, the spec gives specific guidance: > Thus, different color spaces may be more appropriate for each interpolation use case. > In some cases, the result of physically mixing two colored lights is desired. In that case, the CIE XYZ or srgb-linear color space is appropriate, because they are linear in light intensity. > If colors need to be evenly spaced perceptually (such as in a gradient), the Oklab color space (and the older Lab), are designed to be perceptually uniform. > If avoiding graying out in color mixing is desired, i.e. maximizing chroma throughout the transition, Oklch (and the older LCH) work well for that. > Lastly, compatibility with legacy Web content may be the most important consideration. The sRGB color space, which is neither linear-light nor perceptually uniform, is the choice here, even though it produces poorer results (overly dark or greyish mixes). -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7907#issuecomment-1285984181 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 20 October 2022 18:40:42 UTC