Why are the clouds white an then they turn blue?

The sun emits a variety of ultra violet rays that form a color spectrum. Different materials absorb these rays and others reflect them. Clouds, the sky and the oceans do not absorb the blue ultra violet rays and are refracted in the water molecules which is why they appear blue. Clouds appear white because of the sunlight that passes through them.