what is a rainbow? how does it form?
2 answers
Light coming from the sun contains the whole spectrum of colors or frequencies. As the light passes through air laden with water the different colors or frequencies are bent different amounts, separating the beam into layers of color.
http://science.howstuffworks.com/question41.htm