Skip to content

rgbIsInGamut

rgbIsInGamut(v): boolean

Defined in: packages/math-color/src/models/rgb.ts:47

Returns true if all channels of the given RgbCoords are within [0, 1].

RgbCoords

boolean