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

Code Example 1

#p1 {background-color:rgba(255,0,0,0.3);}

Learn ReactJs, React Native from akashmittal.com