I would like to know how do I convert "rgb(255, 255, 255)" string format to rgb, like:
var rgb = convert("rgb(255, 255, 255)");
and use it like this:
this.r = rgb.r;
this.g = rgb.g;
this.b = rgb.b;
What I found so far is how to convert to\from hex to rgb.
Thank you