set color of text html code example
Example 1: make text blue html
<p style="color:blue;">This paragraph is blue.</p>
Example 2: how to color in html
<h1 style="color: red;">Hello</h1>
Example 3: html how to change text color
<p style="color:red;">This paragraph is red.</p>
Example 4: how to change font colour in html
<font color="red">
Lorem Ipsum
</font>