toHSV
Returns the color in HSV representation. As HSV object, it has the following properties:
-
h
-- hue, an integer between 0 and 360 -
s
-- saturation, floating point between 0 and 1 -
v
-- value, floating point between 0 and 1 -
a
-- alpha, floating point between 0 and 1
This does not modify the current object, it creates a new one instead.