Fact 1: glass cause refraction of light. 
Fact 2: Electromagnetic Spectrum Different wavelengths of light are refracted by different amounts.
Glass will cause light passing through it to spread out into a spectrum.