title: Can I force jQuery.css("backgroundColor") returns on hexadecimal format?
body: <p>I have an element like this:</p>
  
  <pre><code>&lt;p&gt;My text with a &lt;strong class="highlighted"&gt;sample highlight&lt;/strong&gt;.&lt;p&gt;
  </code></pre>
  
  <p>And the CSS class like this:</p>
  
  <pre><code>.highlighted {
      background: #f0ff05;
      font-weight: normal;
  }
  </code></pre>
  
  <p>But when I use a jQuery like this:</p>
  
  <pre><code>$(".highlighted").css("backgroundColor");
  </code></pre>
  
  <p>It returns <code>rgb(240, 255, 5)</code>. I could write some function to convert from <em>rgb</em> to <em>hex</em>, but <em>I would like to know if there is some way to jQuery return the value already on hexadecimal format</em>.</p>