Arma 3 Scripting

Function in Contact

BIN_fnc_colorHSLtoRGB

Also available as Markdown and JSON, or read the original wiki page.

Description

Converts HSL colour format to RGB.

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

[hue, saturation, lightness] call BIN_fnc_colorHSLtoRGB

Parameters:

Returns: Array of Numbers - to format [R, G, B]

Examples

Example 1

private _rgb = [0, 100, 50] call BIN_fnc_colorHSLtoRGB;

See also

BIS_fnc_colorRGBtoHTML