Discover why the Sun changes color throughout the day with our interactive Sun Color Simulator. Adjust the Sun’s elevation to explore how Earth’s atmosphere transforms sunlight, from the near-white Sun of daylight to the golden and orange hues of sunset and the cool tones of blue hour.

Why Does the Sun Change Color?

The Sun’s apparent color changes depending on how much atmosphere its light passes through before reaching us. When the Sun is high in the sky, sunlight travels through relatively little atmosphere. As the Sun approaches the horizon, its light follows a much longer atmospheric path.

During this journey, shorter wavelengths of light, particularly blue and violet, are scattered more readily than longer wavelengths such as orange and red. This phenomenon, known as Rayleigh scattering, explains both the blue color of the daytime sky and the warm colors of sunrise and sunset.

What Is the True Color of the Sun?

Although often depicted as yellow, the Sun is essentially white when viewed from space. Its light contains all the colors of the visible spectrum, which combine to produce white light.

Earth’s atmosphere alters the appearance of this light, making the Sun appear white, yellow, orange or red depending on its elevation and atmospheric conditions.

Why Is the Sun Red or Orange at Sunset?

When the Sun is near the horizon, its light can pass through nearly 38 times as much atmosphere as when it is directly overhead.

Much of the blue and violet light is scattered out of the direct beam, allowing warmer wavelengths to dominate. Dust, smoke and other airborne particles can further influence the intensity and appearance of sunset colors.

Use the simulator’s Sun elevation slider to explore this effect and see how the apparent color of the Sun changes.

What Causes Golden Hour and Blue Hour?

Golden hour occurs shortly after sunrise and before sunset, when the low Sun produces warm, soft light and long shadows.

Blue hour occurs during twilight, when the Sun is below the horizon but scattered sunlight continues to illuminate the sky. The resulting cool blue tones create a distinctive atmosphere particularly appreciated by photographers.

To discover when these lighting conditions occur at your location, explore our Sun Calculator.

The Sun Color Simulator provides an educational illustration of changing sunlight under simplified atmospheric conditions. Actual colors vary with weather, atmospheric composition and local conditions. Never look directly at the Sun without appropriate solar protection.