title: How to avoid jquery converting hex color values to rgb with $('#selector').html()
body: <p>I use TinyMCE (jquery variant) as an editor. When the user clicks a button, i read out the text he entered with </p>
  
  <pre><code>editorValue = $('#tinyMceEditor').val();
  </code></pre>
  
  <p>If the user has styled the text with color for example the return could be something like</p>
  
  <pre><code>"&lt;p&gt;&lt;span style="color: #888888;"&gt;hello&lt;/span&gt;&lt;/p&gt;"
  </code></pre>
  
  <p>This is then placed in a &lt;td&gt;.</p>
  
  <pre><code>$('#myTd').html(editorValue);
  </code></pre>
  
  <p>Now when i read out the td with</p>
  
  <pre><code>$('#myTd').html();
  </code></pre>
  
  <p>Internet Explorer and Firefox return me </p>
  
  <pre><code>"&lt;p&gt;&lt;span style="color: rgb(136, 136, 136);"&gt;hello&lt;/span&gt;&lt;/p&gt;"
  </code></pre>
  
  <p>While Chrome returns me</p>
  
  <pre><code>"&lt;p&gt;&lt;span style="color: #888888;"&gt;hallo&lt;/span&gt;&lt;/p&gt;"
  </code></pre>
  
  <p>I did a bit of research and read that Jquery uses rgb values because it calculates animations and such this way. But this way the .html() selector isn't returning the real content of the node.</p>
  
  <p>Is there an easy way to avoid this conversion and have it everywhere as with chrome.
  It is necessary for my application because it compares strings that need to match.</p>