Raindrops refract light in a similar way as a prism, thus the colors.

Detailed Description
Just why do rainbows have colors? It is because of the the raindrops refract the light from the sun into a color spectrum. A prism does the same thing.
Sources/Usage
Public Domain.