Skip to main content

RGBA

An expression editor function that creates colors using red, green, blue, and alpha values.

Updated over 3 weeks ago

Overview

This function creates a color using RGBA color space values. It supports both individual parameters and array input.


Parameters (Return Color)

rgba(red, green, blue, alpha)

Red

Red component (0-255).

Green

Green component (0-255).

Blue

Blue component (0-255).
​

Alpha

Alpha/transparency component (0-1).


Parameters (Return Array)

rgba([red, green, blue, alpha])

Array

Array containing [red, green, blue, alpha] values.

Did this answer your question?