Tomatoes appear red in colour due to the presence of the pigment lycopene but at the early stage of a tomato ,it appears green in colour. How does the tomato get its red colour when it is ripe ?