RGBA()

Syntax

Color = RGBA(Red, Green, Blue, Alpha)
Description
Returns the 32-bit color value corresponding to the Red, Green, Blue and Alpha values.

Parameters

Red, Green, Blue The value of the red, green and blue components for the color. Each value must be between 0 and 255.
Alpha The alpha component of the color. The value must be between 0 and 255. A value of 0 means fully transparent and a value of 255 means fully opaque.

Return value

Returns the combined color value.

Remarks

To extract the red, green, blue or alpha values from a 32-bit color value, use the Red(), Green(), Blue() and Alpha() functions. These functions are useful to perform Drawing operations.

See Also

Red(), Green(), Blue(), Alpha(), RGB()
<- RGB() - 2DDrawing Index - Red() ->