BIS fnc HEXtoRGB: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) 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: | [[Category:Functions|{{uc:HEXtoRGB}}]] | ||
[[Category:Function Group: Misc|{{uc: | [[Category:Function Group: Misc|{{uc:HEXtoRGB}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc: | [[Category:{{Name|arma3}}: Functions|{{uc:HEXtoRGB}}]] |
Revision as of 21:41, 9 June 2018
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