css black and white javascript code example
Example 1: filter for css white color
.custom-2 {
filter: brightness(0) invert(1);
}
Example 2: css image filter black and white
-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
filter: grayscale(100%);