Edit this page

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.

ReturnsObject An object with h, s, v and a fields.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy