BIN fnc colorHSLtoRGB: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
||
Line 30: | Line 30: | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 04:56, 17 January 2021
Description
- Description:
- Converts HSL colour format to RGB.
- Execution:
- call
- Groups:
- Contact
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