Function: srgbToRgb()
srgbToRgb(
srgb):RGB
Converts sRGB color values to RGB color space.
Parameters
| Parameter | Type | Description | 
|---|---|---|
srgb | SRGB | The sRGB color to convert. | 
Returns
The color in RGB color space.
Throws
If the input is not a valid sRGB object or if sRGB values are out of range.
Defined in
conversions/components/srgb.ts:45