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

Code Example 1

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

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

<body>
  <h2 style="color: tomato;">
   THIS TEXT WILL BE IN TOMATO COLOR
  </h2>
</body>

Code Example 4

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

Code Example 5

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

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

Code Example 6

<p style="font-family:verdana">This is a paragraph.</p>
<p 
    style="font-family:'Courier New'">This is another paragraph.</p>

Learn ReactJs, React Native from akashmittal.com