Fact: a rainbow is formed by refraction of light by separating light into all different colors. 
Topic: light refract water.
Rainbows have colors because water refracts different wavelengths of light slightly differently.