The w3-hover-opacity class adds transparency to an image when you mouse over it:
The w3-hover-opacity-off class removes transparency from an image when mouse over it: