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