Arma 3 Scripting

Color is a format of an Array, namely an Array of Numbers in format [r, g, b] or [r, g, b, a], values ranging from 0 to 1.

Note

In config, the color array respects the RGBA format, only it is encapsulated by curly braces:

myColor[] = { 1, 1, 1, 1 };

Examples

Colour SQF Array HTML Render
Mauve purple [0.3, 0.3, 0.5, 1] #4D4D80
White [1, 1, 1, 1] #FFFFFF
Camo green [0, 0.2, 0, 1] #003300
Rust orange [0.73, 0.24, 011, 1] #BA3D1C