Skip to main content

Overview

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

Parameters

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).

Array Input

rgba([red, green, blue, alpha])
  • Array: Array containing [red, green, blue, alpha] values.
I