Are you talking about when immediately put the water in, or within a few days?
If it is a few days, it is algae and the chlorine (or possibly other chemicals, depending on what you use) kills the algae.
If it is green looking when you immediately put the water in....you need to filter your water before you drink it!