title: How to get hex color value rather than RGB value?
body: <p>Using the following jQuery will get the RGB value of an element's background color:</p>
  
  <pre><code>$('#selector').css('backgroundColor');
  </code></pre>
  
  <p>Is there a way to get the hex value rather than the RGB?</p>