convert 22rgb 2834 2c54 2c44 29 22 into array 5b34 2c54 2c44 5d

Solutions on MaxInterview for convert 22rgb 2834 2c54 2c44 29 22 into array 5b34 2c54 2c44 5d by the best coders in the world

showing results for - "convert 22rgb 2834 2c54 2c44 29 22 into array 5b34 2c54 2c44 5d"
Liam
20 Jan 2020
1   
2  // This will convert "rgb(r,g,b)" into [r,g,b] so we can use the "+" to convert them back to numbers before using toString 
3  rgb = rgb.substr(4).split(")")[0].split(separator);
4