Color.HSVA

From Xojo Documentation

Shared Method

Color.HSVA(h As Double, s As Double, v As Double, a As Integer) As Color

Returns a Color from hue, saturation, value and an alpha channel. These values are represented by Doubles between 0 and 1. Alpha is an Integer from 0-255.

Notes

The alpha channel is the translucency of the color represented as an integer between 0 (opaque) and 255 (transparent).

Sample Code

Set a color using hue, saturation, value and alpha:

Dim c As Color = Color.HSVA(0.8, 0.5, 0.75, 50)

See Also

Color.HSV