xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<style>
.red-text {
color: red;
}
</style>
</head>
<body>
<h1 class="red-text">Hello, World!</h1>
<p>This is a paragraph with a different color.</p>
</body>
</html>
xxxxxxxxxx
<p style="color: red;">Red Text</p>
<p style="color: blue;">Blue Text</p>
<p style="color: green;">Green Text</p>
xxxxxxxxxx
<body>
<!-- style color (hex color) + the text -->
<h1 style ="color: #000000; "> Apples <em>is a tech company</em></h1>
</body>
xxxxxxxxxx
<!-- <p style="color:enterColor">insertContentHere</p>-->
<p style="color:#0000ff">This text is blue.</p>
<p style="color:rgb(106, 90, 203)">This text is violet.</p>
<p style="color:red">This text is red.</p>
xxxxxxxxxx
<body>
<p style="color:#FF0000";>Roses are red</p>
<p style="color:#800080";>Violets are blue</p>
</body>
xxxxxxxxxx
<p style="color: purple">This is a purple paragraph.</p>
<p style="color:#800080">This is a purple paragraph.</p>
xxxxxxxxxx
<p style="color:red">What you wanna write in red</p>
<p style="color:blue">What you wanna write in blue</p>
Some colors:
darkgreen #006400 (0,100,0)
green #008000 (0,128,0)
navy #000080 (0,0,128)
darkorchid #9932CC (153,50,204)
lavender #E6E6FA (230,230,250)
deeppink #FF1493 (255,20,147)
crimson #DC143C (220,20,60)
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>Change Font Color Example</title>
</head>
<body>
<h1 style="color: red;">Hello, World!</h1>
</body>
</html>