Color.RGB
From Xojo Documentation
Shared Method
Color.RGB(red As Integer, green As Integer, blue As Integer, alpha As Integer = 0) As Color
Supported for all project types and targets.
Supported for all project types and targets.
Returns a Color based on the specified red, green, blue values.
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 variable to red: