Size of the Sun at dusk is an optical illusion because of atmospheric refraction. Colour of the sun appears yellow due to scattering whereas pure sunlight is white in colour. Twinkling of stars is an optical illusion. Air whirlpools make the stars twinkle.