Function: linearSrgbToSrgb()
linearSrgbToSrgb(x
): number
Converts a linear sRGB color channel to sRGB.
Parameters
Parameter | Type | Description |
---|
x | number | The linear sRGB color channel value (0-1). |
Returns
number
The sRGB value (0-255).
Defined in
conversions/components/linear-srgb-srgb.ts:6