text color php code example Example: php text colors echo "<p> <font color=blue>One line simple string in blue color</font> </p>";