Rainbows are formed when sunlight is refracted, reflected, and dispersed in water droplets, creating a spectrum of light. The primary rainbow always appears opposite the sun - you must be facing away from the sun to see it, with the sun behind you. This is because the light enters the water droplets from behind you at approximately 42 degrees.