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

Code Example 1

body {
  background-color: rgb(255,255,255);
}

Code Example 2

.opacity30 {
  opacity: 0.3;
  filter: alpha(opacity=30); /* For IE8 and earlier */
}

Code Example 3

html,body {
  background-color: red;
}

Code Example 4

div {
 opacity:25% ; 
}

Code Example 5

body {
  background-color: lightblue;
}

Code Example 6

/* To apply color to background you have to use 'background-color' property and value of property is color name. */
html,body {
  background-color: blue;
}

Learn ReactJs, React Native from akashmittal.com