Color.RGBA
From Xojo Documentation
![]() |
This item was deprecated. Please use Color.RGB as a replacement. |
Shared Method
Color.RGBA(red As Integer, green As Integer, blue As Integer, alpha As Integer) 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 and alpha values.
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 variable to red with full transparency: