Closed mirisuzanne closed 4 years ago
Maybe this was for performance reasons, since chroma correction can slow things down?
https://github.com/LeaVerou/css.land/blob/master/lch/lch.js#L80 Should set forceInGamut=true when calling the conversion function.
forceInGamut=true
I think force_into_sRGB_gamut() could also be extended to support chroma reduction for the p3 gamut?
force_into_sRGB_gamut()
Definitely not intentional, thanks for catching that!!
Maybe this was for performance reasons, since chroma correction can slow things down?
https://github.com/LeaVerou/css.land/blob/master/lch/lch.js#L80 Should set
forceInGamut=true
when calling the conversion function.I think
force_into_sRGB_gamut()
could also be extended to support chroma reduction for the p3 gamut?