Fact: a rainbow is formed by refraction of light by separating light into all different colors. 
Topic: light refraction prism.
Light passing through a prism is refracted or divided into the colors of the spectrum.