rgb1ToLinearRgb
rgb1ToLinearRgb<
SE,SL>(value,profile):InSpace<RgbCoords,SL>
Defined in: packages/math-color/src/conversions/lrgb-rgb1.ts:34
Converts RGB values in the range [0, 1] 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 RGB color in the range [0, 1].
profile
Section titled “profile”RgbProfile<SE, SL>
The RGB color space profile (determines the gamma function).
Returns
Section titled “Returns”The corresponding linear RGB color in the range [0, 1].