Delta-v/Content.Client/Stylesheets/Colorspace
Pieter-Jan Briers 1c4806740c Fix ColorExtensions math (#41717)
All of this was doing sRGB -> OkLAB conversions without linearizing the sRGB first, so it was broken. I could have sworn I pointed this out in review but I guess that got lost.

Also, add a gamut clipping step since we have out-of-gamut colors and I don't want random negative values causing weird nightmare bugs somewhere. Shouldn't change anything in regular rendering.
2026-04-04 16:56:52 +02:00
..
ColorExtensions.cs Fix ColorExtensions math (#41717) 2026-04-04 16:56:52 +02:00