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

Code Example 1

background-color=red;

Code Example 2

<body style="background-color: #fff">
  <!---this will change the body color---!>

</body>

Learn ReactJs, React Native from akashmittal.com