Check out example codes for "text color html". It will help you in understanding the concepts better.

Code Example 1

<h1 style="color: red;">Hello</h1>

Code Example 2

<!-- If you want a color on a specific text, use this : -->
<p style="color:---"> Text <p>
  
<!-- Here an exemple if you want a blue text-->
<p stlye="color:blue"> Romuald <p>
  
<!-- If you want a specific class in a color, use css, its better-->

Code Example 3

<h1 style="color:blue;">This is a heading</h1>

 <p style="color:red;">This is a paragraph.</p>

Code Example 4

<font color="red">This is some text!</font>

Code Example 5

HTML
<body>
  <p style="color:#FF0000";>Red paragraph text</p>
</body>

Code Example 6

<font face="yourfont">
  
  Lorem Ipsum
  
</font>

Learn ReactJs, React Native from akashmittal.com