You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ab50d91
Browse filesBrowse the repository at this point in the historyBrowse files
css: fix green/blue channel swap in oklch gamut mapping (#4488)
gamut_mapping_xyz_to_srgb called srgb_to_oklab(clipped_r, clipped_b,
clipped_g) when computing the clipped color's delta from the original
during binary search, swapping g and b. The comparison color on the
next line used the correct order, so the JND check was comparing
against the wrong OKLab point and could converge on a less accurate
clipped chroma. .a{color:oklch(0.65 0.3 50)} targeting chrome90 now
lowers to #e56300 instead of #de6800.
0 commit comments