SharedMethod

Color.RGBA


Warning

This item is deprecated. Please use Color.RGB as a replacement.

Description

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:

Var red As Color = Color.RGBA(255, 0, 0, 255)

Compatibility

All project types on all supported operating systems.

See also

Color.RGB