BIS_fnc_colorConfigToRGBA

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Converts config color format to RGBA array of numbers.
Execution:
call

Syntax

Syntax:
configColor call BIS_fnc_colorConfigToRGBA
Parameters:
configColor: Array - config color
Return Value:
Color (RGBA) - format [r, g, b, a]

Examples

Example 1:
["0.5 + 0.25",0,0,1] call BIS_fnc_colorConfigToRGBA; // returns [0.75,0,0,1]

Additional Information

See also:
Color (RGBA)BIS_fnc_colorRGBtoHTMLBIS_fnc_colorRGBAtoHTMLBIS_fnc_colorRGBAtoTexture
Groups:
Arrays

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.