@tempots/color > xyz2srgb
Converts XYZ color space to SRGB color space.
Signature:
xyz2srgb: (xyz: XYZ) => SRGB
Parameter
Type
Description
xyz
XYZ
The XYZ color to convert.
Returns: SRGB
The converted SRGB color.