title: How to extract r, g, b, a values from CSS color?
body: <p>What would be the easiest way to transform</p>
  
  <pre><code>$('#my_element').css('backgroundColor')
  </code></pre>
  
  <p>to object like this:</p>
  
  <pre><code>{ r: red_value, g: green_value, b: blue_value, a: alpha_value }
  </code></pre>
  
  <p>?</p>