Why do we observe the seven colours when white light passes through a glass prism?

Why do we observe the seven colours when white light passes through a glass prism? Which component of white light deviates the least?

When light passes through a prism it offers different refractive indices to the different 1 wavelengths of light. Thus, each colour suffers a different deviation. The red light deviates the least.