RGBA()

Prev Next

Description

Returns a color of the specified red, green, blue, and alpha components

Available In

  • Apps
  • Automations

Syntax

RGBA(r: Integer, g: Integer, b: Integer, a: Number) => Color

Example

RGBA(255, 255, 0, 0.5) = #ffff00 (50% opacity)