How can I change the another color using "format.color=c;"?

Hi,

I saw the following AS3 code in a “Class” which is used for changing the font color. How to modify it to change another font color say, Red, Green or Yellow…etc.

format.color=c;

Please help.