Color.HSV

From Xojo Documentation

Shared Method

Color.HSV(h As Double, s As Double, v As Double, alpha As Integer = 0) As Color

Returns a Color from hue, saturation and value. These values are represented by Doubles between 0 and 1.

Notes

The alpha parameter provides the ability to control transparency and is an integer between 0 and 255. Zero is completely opaque and 255 is transparent. If omitted, the default is 0 (no transparency).

Sample Code

Set a color using hue, saturation and value:

Var c As Color = Color.HSV(0.8, 0.5, 0.75)

See Also

Color.HSVA