BIS fnc HEXtoRGB: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Fix categories (HEXtoRGB sorting))
Line 31: Line 31:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:colorRGBAtoHTML}}]]
[[Category:Functions|{{uc:HEXtoRGB}}]]
[[Category:Function Group: Misc|{{uc:colorRGBAtoHTML}}]]
[[Category:Function Group: Misc|{{uc:HEXtoRGB}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:colorRGBAtoHTML}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:HEXtoRGB}}]]

Revision as of 22:41, 9 June 2018

Hover & click on the images for description

Description

Description:
Convert hexcodes into rgb arrays.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[hexArray] call BIS_fnc_HEXtoRGB
Parameters:
hexArray: Array of Numbers - array of 8 hexadecimal numbers. Note that hexArray is inside another array ([ hexArray ])
Return Value:
Array of Numbers - array of 4 numbers in range 0..1

Examples

Example 1:
[toArray "025D00FF"] call BIS_fnc_HEXtoRGB;

Additional Information

See also:
ColorBIS_fnc_colorConfigToRGBABIS_fnc_colorRGBAtoHTMLBIS_fnc_colorRGBtoHTMLBIS_fnc_colorRGBAtoTexture

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