BIN fnc colorHSLtoRGB: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 36: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:colorHSLtoRGB}}]]

Revision as of 09:44, 10 October 2020

Hover & click on the images for description

Description

Description:
Converts HSL colour format to RGB. Template:Feature arma3contact
Execution:
call
Groups:
Uncategorised

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

See also:
BIS_fnc_colorRGBtoHTML

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section