Skip to content

linearRgbToRgb1

linearRgbToRgb1<SE, SL>(value, profile): InSpace<RgbCoords, SE>

Defined in: packages/math-color/src/conversions/lrgb-rgb1.ts:13

Converts linear RGB values to RGB values in the range [0, 1] using the specified RGB color space profile.

SE extends string

SL extends string

RgbCoords

The linear RGB color in the range [0, 1].

RgbProfile<SE, SL>

The RGB color space profile (determines the gamma function).

InSpace<RgbCoords, SE>

The corresponding RGB color in the range [0, 1].