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

Code Example 1

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

Code Example 2

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

Code Example 3

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

Code Example 4

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

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

Code Example 5

<body style="background-color:powderblue;">

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>

Code Example 6

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

Learn ReactJs, React Native from akashmittal.com