{"name":"BIN_fnc_colorHSLtoRGB","title":"BIN fnc colorHSLtoRGB","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_colorHSLtoRGB","revid":338046,"updated":"2023-02-23T21:14:59Z","groups":["Contact"],"status":"ok","games":{"arma3":"1.94"},"since":"arma3 1.94","arma3_since":"1.94","description":"Converts [HSL colour format](https://en.wikipedia.org/wiki/HSL_and_HSV) to RGB.\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[hue, saturation, lightness] call BIN_fnc_colorHSLtoRGB","params":[{"name":"hue","type":"Number","optional":true,"default":"0","type_expr":"Number","text":"hue: Number - (Optional, default 0)"},{"name":"saturation","type":"Number","optional":true,"default":"0","type_expr":"Number","text":"saturation: Number - (Optional, default 0)"},{"name":"lightness","type":"Number","optional":true,"default":"0","type_expr":"Number","text":"lightness: Number - (Optional, default 0)"}],"returns":{"type":"Array of Numbers","type_expr":"Array<Number>","description":"to format [R, G, B]"}}],"examples":[{"code":["private _rgb = [0, 100, 50] call BIN_fnc_colorHSLtoRGB;"]}],"see_also":["BIS_fnc_colorRGBtoHTML"]}