labIsInGamut
labIsInGamut(
lab,whitePoint,rgbProfile):boolean
Defined in: packages/math-color/src/lab-is-in-rgb-gamut.ts:15
Test if a CIE L_a_b* color is in gamut for the given RGB profile.
Parameters
Section titled “Parameters”The CIE L_a_b* color to test.
whitePoint
Section titled “whitePoint”The reference white point of the CIE L_a_b* color.
rgbProfile
Section titled “rgbProfile”The RGB color space profile to test against.
Returns
Section titled “Returns”boolean
true if the color is in gamut, false otherwise.