Answers for "Convert "rgb(34,54,44)" into array [34,54,44]"

0

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);
Posted by: Guest on May-12-2021

Code answers related to "Convert "rgb(34,54,44)" into array [34,54,44]"

Code answers related to "Javascript"

Browse Popular Code Answers by Language