{"name":"BIS_fnc_colorRGBAtoTexture","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","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Converts RGB color format to procedural texture, e.g `[0,0,0,1]` becomes `\"#(argb,8,8,3)color(0,0,0,1)\"`.\nValues are in range 0..1.","syntaxes":[{"syntax":"color call BIS_fnc_colorRGBAtoTexture","params":[{"name":"color","type":"Array","description":"format [R,G,B,A]","type_expr":"Array"}],"returns":{"type":"String","type_expr":"String","description":"procedural texture to format \"#(argb,8,8,3)color(R,G,B,A)\""}}],"examples":[{"code":["private _texture = [0,0,0,1] call BIS_fnc_colorRGBAtoTexture;"]}],"see_also":["BIS_fnc_colorRGBAtoHTML"]}