The RGBA function returns a value that represents the RGBA color value (used for GDI Plus).
Color values are passed on Windows using a Long.
Syntax | ||||
RGBA(Red, Green, Blue, Alpha) | ||||
Return value | ||||
Type |
Description | |||
Long |
| |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Red |
Long |
ByVal |
The value of red color 0-255 |
Required |
Green |
Long |
ByVal |
The value of green color 0-255 |
Required |
Blue |
Long |
ByVal |
The value of blue color 0-255 |
Required |
Alpha |
Long |
ByVal |
The value of transparency (alpha) 0-255 |