Ive parsed the style sheet of a web page document and now im examining the document to identify visual segnmentation e.g. two sections with distinctly different background colors. What i need to know is if its possiable to compare two strings that represent color in style sheets i.e. background-color:#333333;
I need a method that gives a quantitive value to show how much the colors differ.