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

Code Example 1

html,body {
  background-color: red;

Code Example 2

body {
  background-color: lightblue;

Code Example 3

  background: lightblue;

Code Example 4

//javascript type css: = "blue";
// or inline css:
<div style="background-color: blue;"></div>

Code Example 5

body {
  background-color: green;

Learn ReactJs, React Native from