A rainbow is a meteorological phenomenon that occurs when sunlight is refracted, reflected, and dispersed in water droplets in the atmosphere. This process creates a spectrum of light that appears in the sky as a multicolored arc. The primary colors of a rainbow are red, orange, yellow, green, blue, indigo, and violet, often remembered by the acronym ROYGBIV.
Rainbows typically form when it is raining in one part of the sky while the sun is shining in another. They are most commonly seen in the late afternoon or early evening. Rainbows can also occur in other conditions, such as near waterfalls or fountains, where water droplets are present in the air.