@tempots/color

xyz2hsv() function

Converts XYZ color space to HSV color space.

Signature:

xyz2hsv: (xyz: XYZ) => HSV

Parameters

Parameter

Type

Description

xyz

XYZ

The XYZ color to convert.

Returns: HSV

The corresponding HSV color.