<div class="meta" robots="noindex">

</div>

SharedMethod

# Color.RGBA

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item is deprecated. Please use `Color.RGB<color.rgb>` as a replacement.

</div>

## Description

Returns a `Color</api/data_types/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:

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

## Compatibility

All project types on all supported operating systems.

## See also

`Color.RGB<color.rgb>`
