I am using the computed CCK field in a content type. The field is calculated based on several values that could change. I will like to have the background of the div where this field is displayed based on the value that this field contains. For example:

If field value is 5 then background should be red.
If field value is 3 then it should be yellow. And so on.

Is there a way to do this?

Thanks!!