Why potatoes turn into green colour?

Green potatoes

The various factors which increase the glycoalkaloid contents are mechanical injury, premature harvest, and excessive application of fertilizers or exposure of tubers to sunlight. High glycoalkaloid contents lead to solanine production which is slightly poisonous. Proper earthing up of tubers as the tuber formation takes place. Store tubers in darkness after digging up.