The w3-hover-grayscale class adds a "black and white" effect to an element when you move the mouse over it:
Hover over me