the green color on the potato is chlorophyll developing in the skin and along with this change, increased quantities solanin is also formed. solanin is part of the flavoring complex that gives the potato its taste. this is concentrated close to the potatoes surface and is easily removed when peeled.