- From: Andrii Savchenko via GitHub <sysbot+gh@w3.org>
- Date: Thu, 30 Mar 2023 15:23:08 +0000
- To: public-css-archive@w3.org
> No-one needs a PhD. However, OkHSL and OkHSV also inherits the disadvantages of HSL and HSV - being forced into a regular geometric solid means the color spaces are no longer perceptually uniform. Which is the entire point of Oklab. That's is the point of OkHSL — it does cut boundaries to be fit in a geometric means, so yes, you loose some peak values but stay perceptually uniform > Being restricted to sRGB, at the exact time that the Web is strongly moving to display P3, is also a significant limitation. Yes, that's a big disadvantage and if it's can't be stretched to P3 — this is strong argument against. Curious to hear @bottosson about this. > Could you explain more about the "exact desired color contrast" part? It's relatively easy (at least I did this before with HSLuv and WCAG 2 contrast ratio) to calculate an L shift to derive a color with defined contrast ratio. So, for example, if you have a background color and need a color for text with the same H and S with 4.5:1 contrast ratio, you can calculate the L -- GitHub Notification of comment by Ptico Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8659#issuecomment-1490497429 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 15:23:10 UTC