Check out example codes for "How to overlay image with color in CSS?". It will help you in understanding the concepts better.

Code Example 1

background: linear-gradient(#3204fdba, #9907facc), url(https://picsum.photos/1280/853/?random=1) no-repeat top center;

Learn ReactJs, React Native from akashmittal.com