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
The reason HSL became unbounded appears to be its ability to round trip fine with the RGB models.
In theory, though perhaps not recommendable, specifying lightness above 100% is more or less fine for these perceptual models and the math round trips with the RGB models. As far as I understand it, 100% lightness in general (and white point in specific) of these color spaces is not a pole but a smooth point; though I believe these color spaces do start to lose their predictive power when outside of their "natural gamuts".
If lightness is at or above 100%, it is the choice to preserve lightness over chroma during gamut mapping to, e.g., sRGB, that maps these colors to white. A different choice of gamut mapping technique could map to a chromatic color, and that color could change with further increasing lightness. On an HDR display the color may be in gamut.
The current wording prevents specifying colors brighter than media white, whereas those can currently be specified in HSL, XYZ, and the various RGB models. Would it make sense to drop the required parsed-value time clamping of lightness for the perceptual models Lab/Lch/Oklab/Oklch?
The text was updated successfully, but these errors were encountered:
The specification of parsed-value-time lightness clamping differs for different color spaces.
Section 7 says to clamp saturation for HSL, but not lightness. Sections 9.3 and 9.4 say to clamp lightness for Lab/Lch and Oklab/Oklch respectively.
I did a little bit of digging.
white
. #8609.The reason HSL became unbounded appears to be its ability to round trip fine with the RGB models.
In theory, though perhaps not recommendable, specifying lightness above 100% is more or less fine for these perceptual models and the math round trips with the RGB models. As far as I understand it, 100% lightness in general (and white point in specific) of these color spaces is not a pole but a smooth point; though I believe these color spaces do start to lose their predictive power when outside of their "natural gamuts".
If lightness is at or above 100%, it is the choice to preserve lightness over chroma during gamut mapping to, e.g., sRGB, that maps these colors to white. A different choice of gamut mapping technique could map to a chromatic color, and that color could change with further increasing lightness. On an HDR display the color may be in gamut.
The current wording prevents specifying colors brighter than media white, whereas those can currently be specified in HSL, XYZ, and the various RGB models. Would it make sense to drop the required parsed-value time clamping of lightness for the perceptual models Lab/Lch/Oklab/Oklch?
The text was updated successfully, but these errors were encountered: