@pbroom/color-kitGamut

GAMUT_LINEAR_MAX

Upper linear-light channel bound of the gamut membership test: linearize(1 + GAMUT_EPSILON) (≈ 1.0001706), the sRGB transfer function applied to an encoded channel of 1 + GAMUT_EPSILON.

constimport { GAMUT_LINEAR_MAX } from '@pbroom/color-kit';linear-bounds.ts:36
const GAMUT_LINEAR_MAX: number;

Unclamped linear sRGB or linear Display P3 channels up to this value count as in gamut in inSrgbGamut, inP3Gamut and isLinearRgbInGamut; see GAMUT_LINEAR_MIN for the lower bound and why the slack is applied in encoded rather than linear space.