Function: srgbToLinearSrgb()
srgbToLinearSrgb(
x):number
Converts an sRGB color channel to linear sRGB.
Parameters
| Parameter | Type | Description | 
|---|---|---|
x | number | The sRGB color channel value (0-255). | 
Returns
number
The linear sRGB value (0-1).
Throws
If the input value is out of range.
Defined in
conversions/components/linear-srgb-srgb.ts:21