<p class="pen" style="color:#000">abc</p>
.pen{
color:#333
}
In the previous code snippet, we have an HTML element with inline style and a CSS class that defines color properties. Despite the inline style having higher precedence, jQuery returns the color defined in the CSS class instead of the inline style. How can I retrieve the color from the current style using jQuery?