Replace specific color with another in jQuery
<p>I have the following color as a theme color on my website:</p>

<pre><code>#0088cc;
</code></pre>

<p>How do I replace this color with another one on every element where it is applied throughout the DOM/webpage by changing the body class?</p>

<p>eg. </p>

<pre><code>if ($('body').hassClass('black')){
   replace all #0088cc with #000;
}
</code></pre>

<p>The color represents all different html colors: borders, backgrounds, text-color etc</p>

<p><strong>UPDATE:</strong></p>

<p>I see that everyone is not understanding the question correctly:</p>

<p>I have the color #0088cc as my main theme colour. Now various elements inside the body has this color as a text-color, background-color, border-color. So I want to replace EVERY color inside the body's children elements (all elements that has that color defined for something) with a new color, such that I am changing the whole theme...</p>

<p>How would I do that?</p>
