CBA_fnc_colorRGBAtoDecimal

Description

Converts an RGBA coded color with transparency to the ingame decimal color format.

Parameters

_redThe red channel, 0-255 <NUMBER>
_greenThe green channel, 0-255 <NUMBER>
_blueThe blue channel, 0-255 <NUMBER>
_alphaThe alpha/transparency channel, 0-255 <NUMBER>

Returns

Ingame color format ARRAY

Examples

[186,38,25,255] call CBA_fnc_colorRGBAtoDecimal

Author

drofseh & Lambda.Tiger

Array to read from [Array]
Close