@tempots/color

srgb2rgb() function

Converts an SRGB color to an RGB color.

Signature:

srgb2rgb: (srgb: SRGB) => RGB

Parameters

Parameter

Type

Description

srgb

SRGB

The SRGB color to convert.

Returns: RGB

The converted RGB color.