{"name":"BIN_fnc_colorHSLtoRGB","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.94"}],"since":{"game":"arma3","name":"Arma 3","version":"1.94"},"arma3_since":"1.94","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"hue","type":"Number","optional":true,"default":"0","description":null,"types":["Number"],"since":null,"text":"hue: Number - (Optional, default 0)"},{"name":"saturation","type":"Number","optional":true,"default":"0","description":null,"types":["Number"],"since":null,"text":"saturation: Number - (Optional, default 0)"},{"name":"lightness","type":"Number","optional":true,"default":"0","description":null,"types":["Number"],"since":null,"text":"lightness: Number - (Optional, default 0)"}],"returns":{"type":"Array of Numbers","types":["Array","Number"],"description":"to format [R, G, B]","text":"Array of Numbers - to format [R, G, B]"}}],"examples":[{"text":"```sqf\nprivate _rgb = [0, 100, 50] call BIN_fnc_colorHSLtoRGB;\n```","code":["private _rgb = [0, 100, 50] call BIN_fnc_colorHSLtoRGB;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_colorRGBtoHTML"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Contact","Functions","Introduced with Arma 3 version 1.94"],"docblock":null,"filled_from_docblock":[]}