<p class="pen" style="color:#000">abc</p>
.pen{
color:#333
}
In the above html and css, the inline style has greater precedence than the class, thus #000 will be used. But when I do $('.pen').css('color'), I get #333. How can I get the color of the current style?