What Makes Feces Green?

Foods that you eat can turn your feces green, such as vegetables. I once was very sick and couldn’t eat so I drank only Gatorade for a week and it turned my feces a very bright Kelly green. I haven’t been able to bring myself to drink Gatorade sine then.