changes the color on a =n active and hover state