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

Code Example 1

<!-- 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 2

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

Code Example 3

<font face= "any_font_on_your_computer">
  
  <h1>You are welcome for this</h1>
  
</font>

Code Example 4

<script>//for typewriter font:</script>

<tt>
  <h1>Example Text</h1
</tt>

Learn ReactJs, React Native from akashmittal.com