Uh, well... I don't really understand your problem. But if you want to set font colors, you can use styles. For an example of coloring a certain text:
print "<span style='color:green;'>The text is green</span>";
or you can set the color for the whole page like this:
print "<body style='color:red;'>"; //The body text is red