Why does the sky turn colors at sunset?

Why does the sky turn colors at sunset?

On a sunny day, the sky is blue, the clouds white, and the Sun a normal, if a bit boring, yellowish-white. But at sunset, white clouds and blue sky turn pink and orange and purple, and the Sun glows orange red.
quanswer.com