{"name":"BIS_fnc_colorRGBAtoTexture","operator":null,"title":"BIS fnc colorRGBAtoTexture","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_colorRGBAtoTexture","revid":340322,"updated":"2023-04-30T00:15:24Z","groups":["Arrays"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Converts RGB color format to procedural texture, e.g `[0,0,0,1]` becomes `\"#(argb,8,8,3)color(0,0,0,1)\"`.\n\nValues are in range 0..1.","syntaxes":[{"syntax":"color call BIS_fnc_colorRGBAtoTexture","since":null,"effect":null,"exec":null,"params":[{"name":"color","type":"Array","optional":false,"default":null,"description":"format [R,G,B,A]","types":["Array"],"since":null,"text":"color: Array - format [R,G,B,A]"}],"returns":{"type":"String","types":["String"],"description":"procedural texture to format \"#(argb,8,8,3)color(R,G,B,A)\"","text":"String - procedural texture to format \"#(argb,8,8,3)color(R,G,B,A)\""}}],"examples":[{"text":"```sqf\nprivate _texture = [0,0,0,1] call BIS_fnc_colorRGBAtoTexture;\n```","code":["private _texture = [0,0,0,1] call BIS_fnc_colorRGBAtoTexture;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_colorRGBAtoHTML"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Arrays","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}