What is the cause of dispersion?
Answer:
All colours of light travel at the same speed in a vacuum. When these enter a transparent substance like prism, all slow down by different amounts depending on their wavelength. As these slow down by different amounts, different colours are refracted through different angles.