Activate on scroll and change color on click

Activate on scroll and change color on click

Hi
 I want menu lines to be activated(effect like when hovered) on click and activated on each section scroll.