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

Code Example 1

body {
	background-color:rgb(130, 50, 29);
}

Code Example 2

body {
	background-color: red; 
}

Code Example 3

body {
  background-color: green;
}

Learn ReactJs, React Native from akashmittal.com