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

Code Example 1

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

Code Example 2

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

Learn ReactJs, React Native from akashmittal.com