Dev - Data Types - Color

A complex data type representing an RGBA color value. It can be stated in multiple different ways.

Color Parameters

When methods have color parameters you can define the color in various different ways:

Color Return Values

When a method returns a color, it will be a tuple of 4 numbers with the following structure:

r, g, b, a

The components are defined this way: