'On inactive logo gray and on click normal color and on change back to gray

enter image description here

On inactive logo gray and on click normal color and on change back to gray



Solution 1:[1]

I think you need to learn about CSS pseudo-classes and use :active and :hover states to achieve your goal. Start here: https://developer.mozilla.org/en-US/docs/Web/CSS/:active

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 KDM