Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.10
-
None
Description
CSS4 now has OKLCH, as described here: https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
with quite broad browser support
https://caniuse.com/?search=oklch
Would be nice to have support for this in QColor, ie a new QColor::Spec::oklch, QColor::from/toOklch, with and without explicit alpha, etc
I assume this would require some SIMD magic for converting to RGB eg.
https://v0-oklch-visualiser-e69nx1.vercel.app/
https://oklch.com/#70,0.1258,108,100