Используйте CSS в php echo со стилем атрибута
<!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