Pick background color on click
<p>If I have a div with an inline style specifying background color, how do I get the color value on click w/ jQuery?</p>

<pre><code>$(".myDiv").click(function(){
   var myColor = $(this)....
});

&lt;div class="myDiv" style="background-color:#8080C0"&gt;&lt;/div&gt;
</code></pre>
