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

Code Example 1

h1 {  
  color: green;
}

Code Example 2

p{
	color: White;
}

Code Example 3

color:#ffffff;

Code Example 4

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

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

</body>

Code Example 5

body {
  color: blue;
}


h1 {
  color: green;
}

Learn ReactJs, React Native from akashmittal.com