Open topic with navigation

# rgba

The `rgba` method returns an object that represents a color, with an associated opacity value. The object can be passed into other drawing functions.

## Syntax

    rgba ( red, green, blue, opacity )

## Arguments

Argument | Description
--- | ---
`red` | (number) The red color value (0-255)
`green` | (number) The green color value (0-255)
`blue` | (number) The blue color value (0-255)
`opacity` | (number) The opacity value (0-255, where 0 is transparent and 255 is opaque).

## Returns

A color object with an associated opacity value.

## Example

    local mycolor = rgba(255, 255, 0, 127)

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm