BIS_fnc_HEXtoRGB

From Bohemia Interactive Community
Revision as of 21:41, 9 June 2018 by Lou Montana (talk | contribs) (Fix categories (HEXtoRGB sorting))
Jump to navigation Jump to search
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