When you face a rainbow, the sun is always behind you. Rainbows form when sunlight is refracted and reflected in raindrops in front of you while the sun shines from behind, creating the visible spectrum at an angle of approximately 42 degrees from the antisolar point.