The chlorophyll is created by organelles called chloroplasts. These chloroplasts feed on sunlight, and produce food for plants. If I'm correct, they also produce green pigmentation. If there is no sunlight, then there is no food that will be transformed into pigment.