A rainbow is caused by light from the Sun shining through
raindrops. The raindrops separate out the colors in white light, so we can see
them. The major colors in a rainbow are red, orange, yellow, green, blue,
indigo and violet. They are always in the same order. These colors are called
the spectrum. Each is light of a different wavelength. Red light has the
longest waves, orange is slightly shorter, and so on. Violet has the shortest
waves. (World of Science)