Użyj CSS w Echo PHP z atrybutem stylu

<!DOCTYPE html>
<html>
<body>

<?php
echo "Welcome to Softhunt.net";
echo "<p style='color:red;'>This is a text in PHP echo.</p>";
?>

</body>
</html>
Unsightly Unicorn