linearRgbToXyz
linearRgbToXyz<
SE,SL>(value,rgbProfile):XyzCoords
Defined in: packages/math-color/src/conversions/lrgb-xyz.ts:16
Converts linear RGB values to CIE XYZ color space using the specified RGB color space profile.
Type Parameters
Section titled “Type Parameters”SE extends string
SL extends string
Parameters
Section titled “Parameters”The linear RGB color in the range [0, 1].
rgbProfile
Section titled “rgbProfile”RgbProfile<SE, SL>
The RGB color space profile.
Returns
Section titled “Returns”The corresponding CIE XYZ color.