The beautiful colors in the sky are formed by sunlight hitting water droplets in the air, these then reflect and refract the various rainbow colors. A rainbow is commonly seen during sunny, rainy days, but can also be seen at waterfalls and in the spray of ocean waves.