@tempots/color > srgb2xyz
Converts an sRGB color to XYZ color space.
Signature:
srgb2xyz: (srgb: SRGB) => XYZ
Parameter
Type
Description
srgb
SRGB
The sRGB color to convert.
Returns: XYZ
The corresponding XYZ color.