grayscale()
The grayscale() filter function converts an element’s colors into shades of gray.
.element { filter: grayscale(100%); }