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