Color.SetHSV (gb.image)

Static Function SetHSV ( Color As Integer [ , Hue As Integer, Saturation As Integer, Value As Integer, Alpha As Integer ] ) As Integer

Set the HSVA components of the specified color and returns it as an integer value.

If a component is not specified, then it is not changed.

It is faster to use this function than using the ColorInfo class.