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

Code Example 1

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

Code Example 2

div {
 opacity:25% ; 
}

Code Example 3

body{
  background: lightblue;
}

Code Example 4

html,body {
  background-color: red;
}

Code Example 5

body {background-color: coral;}

Learn ReactJs, React Native from akashmittal.com