Convert "rgb(34,54,44)" into array [34,54,44] code example
Example: Convert "rgb(34,54,44)" into array [34,54,44]
// 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
rgb = rgb.substr(4).split(")")[0].split(separator);