In a particular variety of corn, the kernels turn red when exposed to sunlight. in the absence of sunlight, the kernels remain yellow. based on this information, it can be concluded that the color of these corn kernels is due to