The colours separate, because the coloured molecules in the dye have different levels of solubility. Different components in the mixture will travel at different speeds because they have different solubilities and interact differently with the stationary phase and the solvent, so they will end up separated. The most soluble molecules will travel the furthest, while the least soluble ones will travel the least.

10