How to colour my Decimal field based on its value

Hi, I have a decimal field on my interface that I want to colour based on its value..something like

if =8: then green

if <>8: then blue

How do I do that?? 

I know how to colour a text field.

Please help



  Discussion posts and replies are publicly visible