The dyes used to make colored candy can be made up of several colors. These dyes are composed of different compounds that separate during chromatography. The water rising up the filter paper caused the compounds in the candy to spread out in a spectrum.
Try this – Try this activity with different types of candy, or with candy of different colors. How are the results different?