comp • gb.image • color • hsv

Color.HSV (gb.image)

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

Returns a color value from its hue, saturation, value and alpha components.

If Alpha is not specified, then it is assumed to be zero, i.e. you get a fully opaque color.

In Gambas, the alpha value of fully opaque colors is zero, and the alpha value of fully transparent colors is 255.