Check out example codes for "fitler css for making white img". It will help you in understanding the concepts better.

Code Example 1

.custom-2 {
  filter:  brightness(0) invert(1);
}

Code Example 2

filter css for making white img

Learn ReactJs, React Native from akashmittal.com