Try using hex codes (#FF0000 etc.) for your colors and see if that makes a difference.
Also check and make sure if you have a stylesheet that it isn't isn't overriding the "color" attribute of font tags.
Lastly, you can terminate the php tags mid-script and have regular html hanging out in there. For example:
<?php
//start of script
?>
<font color="blue">Blue</font>!
<?php
//rest of script
?>
---
class EOSERV {
Programmer | Oldbie
Open source EO Client: https://github.com/ethanmoffat/EndlessClient
};