Color code categorized field

I have been using the ‘use color as value’ option to color code the values in a column. It’s working great. Now I want to do the same thing to a categorized column … but it is ignored…any advice?

Red := 255:0:0;

DkGreen := 0:160:0;

GoldYellow := 191:191:0;

Yellow := 255:255:0;

DefaultColor := 0:0:0;

@If(Traffic = “Green”; DkGreen;Traffic = “Red”;Red;Traffic = “Yellow”;GoldYellow;DefaultColor)

Subject: Calculate color?

If you’re displaying the view on the web, you can probably calculate the HTML font color.

Subject: RE: Calculate color?

Not on web. Thx anyway.