Because of something called Rayleigh scattering. Blue and violet light have shorter wavelengths than red and yellow so they scatter more in the sky. The colour of the sky is the result of the scattering of all these wavelength of light. As the blue light scatters more the sky appears more blue.
Comments
12ahahmed commented on :
THANKS!
n3rdy commented on :
Some people think it is blue because the sea is reflecting. Not a bad guess as considering the water covers more than half of the earth.