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