A hue component.
A saturation component.
A value component.
A number between 0 and 1, or
nil
.
Return a color-spec in the
:HSV
model with components
hue
,
saturation
and
value
.
Note that short-floats are used for each component; this results in the most efficient color conversion process. However, any floating-point number type can be used.
alpha
indicates the alpha value of the color. 0 means it is transparent, 1 means it is solid. If
alpha
is
nil
or not specified then the color does not have an alpha component and it is assumed to be solid.
CAPI Reference Manual - 15 Dec 2011