В моем файле CSS:
a, a:link, a:visited { color:#4188FB; }
a:active, a:focus, a:hover { color:#FFCC00; }
Я пробовал:
var link_col = $("a:link").css("color");
alert(link_col); // returns rgb(65, 136, 251)
Как я могу получить код HEX?
*** edit: нашел ответ здесь:
Фоновая цветная переменная hex для JavaScript
Позор мне, мог бы найти немного лучше, прежде чем публиковать.