Answer:
When the light is scattered as it spreads through the atmosphere, the rays of light undergo the phenomena of refraction and dispersion giving rise to a range of colors.
Step-by-step explanation:
When the light is expelled by the atmosphere and falls on a surface that separates two means appears a range of colors. This phenomenon is called light scattering and occurs due to the difference in refractive incidence, as well as the difference in light propagation velocity.
This phenomenon is also responsible for the formation of the rainbow. After the rain, tiny droplets of water are suspended in the air. By focusing on these droplets, the light from the sun scattered throughout the atmosphere suffers from the phenomena of refraction and dispersion, which eventually give rise to the coloring of the rainbow.