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

Code Example 1

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

Code Example 2

<!DOCTYPE html>
<html>
<head>
<style>

 body {background-color: powderblue;}
h1   {color: blue;}
p    {color: red;}

</style>
</head>
<body>

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

</body>
</html>

Code Example 3

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

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

</body>

Code Example 4

<span style="font-size:20px;"></span>

Code Example 5

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

Code Example 6

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

Learn ReactJs, React Native from akashmittal.com