Using the following jQuery will get the RGB value of an element\'s background color:
$(\'#selector\').css(\'backgroundColor\');
Is there a
My beautiful non-standard solution
HTML
jQuery
$("#selector").attr("style").replace("background-color:", "");
Result
#f5b405