Check out example codes for "css image filter black and white". It will help you in understanding the concepts better.

Code Example 1

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

Code Example 2

-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);

Learn ReactJs, React Native from akashmittal.com