A rainbow forms when sunlight enters raindrops, bends and separates into different colors, reflects off the inside of each drop, and bends again as it leaves. You see the rainbow when the Sun is behind you and rain is in front of you.
How sunlight becomes a rainbow
- Light bends as it enters a raindrop. This bending is called refraction. Different colors bend by slightly different amounts, so white sunlight spreads into its component colors.
- Light reflects inside the drop. Some of the separated light bounces off the back of the raindrop.
- Light bends again as it leaves. The colors emerge at different angles and travel toward your eyes, making a colored arc appear in the sky.
In a primary rainbow, red is on the outside of the arc and violet is on the inside. Each raindrop sends only certain colors toward your eyes; the rainbow is the combined light from many drops.
Where and when to look
For a rainbow to be visible, the Sun must be behind you and water droplets must be ahead of you. Rain, mist, or spray can provide the droplets. The Sun also needs to be low enough in the sky for the arc to appear above the horizon.
A rainbow is actually a circle of light, but the ground usually blocks the lower part, so you see an arc. A second, fainter rainbow can sometimes appear outside the first one. It forms when light reflects twice inside the raindrops, which reverses the color order.