You can use the dynamic class for this, create two css classes beforehand so that you can change the colour of the text. For example:
.red-text { color: red; }
.green-text { color: green; }
if
$currentObject/YOUROBJECT = Enumaration.Value
then
'green-text'
else if $currentObject/YOUROBJECT = Enumeration.Value2
then
'red-text'
else
’’