title: Some way to get colors from string in php?
body: <p>I have a string like this <br></p>
  
  <pre><code>$color="rgb(255, 255, 0)";
  </code></pre>
  
  <p>I want to get values 255,255,0 either in an array or in three different variables. For eg</p>
  
  <pre><code>$arr[0]=255;
  $arr[1]=255;
  $arr[2]=0;
  </code></pre>
  
  <p>I think so it can be done in regular expression. But i am bad in it. Thanks</p>