I go by the smell of the gas not the color.
Yes, gasoline develops an odd sour smell when it goes bad.
Gasoline will keep indefinitely in a tightly sealed container that holds pressure. It gets ruined when the volatiles gas off.
I've heard you shouldn't run winter gas in the summer or vice versa, but I haven't seen it cause an issue.