your answer is extremely general and it's very hard to understand what exactly you want to do. could you possibly provide a code example.
if all you want to do is add a class to an element based off of some server side logic, then just do:
<a href="" style="<cfif a eq a>myclass</cfif>"></a>
EDIT:
Henry would like to determine that the color of an element (eg: #title) and then run some coldfusion based on what the color is:
The best way I could figure on doing this would be on the client end you would use jQuery to determine the color and call an ajax request based on it:
$(function(){
var color = $("#title").css("color");
if(color == "blue")
{
$("#my-code-container").load("my-logic.cfm");
}
});