title: Jquery, getting .css "background-color" in #000000 format?
body: <p>I'm using a jquery plugin that seems to need the color in "000000" format but when I do this:</p>
  
  <pre><code>currentcolor = $("#" + dividediting).css("background-color");
  </code></pre>
  
  <p>I get the output as:</p>
  
  <pre><code>rgb(0,0,0)
  </code></pre>
  
  <p>I'm wondering if there is a way to change the way it outputs or if I have to use regex to parse the result to get it to the needed format.. thanks for any advice</p>