BIN_fnc_colorHSLtoRGB

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.941.94
Hover & click on the images for descriptions

Description

Description:
Converts HSL colour format to RGB.
arma3 Contact logo black.png
This function is part of the Arma 3 Contact expansion only.

Syntax

Syntax:
[hue, saturation, lightness] call BIN_fnc_colorHSLtoRGB
Parameters:
hue: Number - (Optional, default 0)
saturation: Number - (Optional, default 0)
lightness: Number - (Optional, default 0)
Return Value:
Array of Numbers - to format [R, G, B]

Examples

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

Additional Information

Execution:
call
See also:
BIS_fnc_colorRGBtoHTML
Groups:
Contact

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section