<p>What is the color of the sky depending on the time?</p>

<p>I'm looking for a set of colors (HTML-Code), the sky has during sunrise, morning, forenoon, noon, afternoon, evening and sunset. A formula to calculate the color would be awesome.</p>

CC BY-SA 3.0
2017-11-13T19:39:19.787Z
A simple lerp (linear interpolation) between a light and dark blue would work.
Andrew Wilson
CC BY-SA 3.0
2017-11-14T05:30:16.500Z
When you say "sky" do you include clouds and the sun? Just earlier tonight part of the sky was bright pink and peach for a few minutes just before the sun went down.
user1118321
CC BY-SA 3.0
2017-11-15T16:56:37.910Z
You probably need the altitude, time of year, latitude, longitude, etc. to achieve a perfect result. For instance, there are days on the Arctic, when it's always black
Bálint
CC BY-SA 3.0
2017-11-15T17:56:06.767Z
https://www.scratchapixel.com/lessons/procedural-generation-virtual-worlds/simulating-sky/simulating-colors-of-the-sky
Bálint
CC BY-SA 3.0
2017-11-23T14:24:44.097Z
Are you asking about the Earth's sky?
wip
CC BY-SA 3.0
2017-12-12T20:03:23.183Z
As the other comments show, there is a very wide range of possible answers here, depending on your requirements. Could you [edit] to explain what you will be using these for, and how accurate they need to be, and whether you just want shades of blue or other sky objects like clouds, stars, sun, moon?
trichoplax is on Codidact now
CC BY-SA 4.0
2019-11-18T11:44:02.727Z
https://cgg.mff.cuni.cz/projects/SkylightModelling/HosekWilkie_SkylightModel_SIGGRAPH2012_Preprint.pdf
Trantor
CC BY-SA 4.0
2019-11-18T11:47:12.913Z
https://www.cs.utah.edu/~shirley/papers/sunsky/sunsky.pdf
Trantor
<color><atmospherics>
Color of the Sky
dudas
# Color of the Sky

(Asked by: username_0 on 2017-11-13)

What is the color of the sky depending on the time?

I'm looking for a set of colors (HTML-Code), the sky has during sunrise, morning, forenoon, noon, afternoon, evening and sunset. A formula to calculate the color would be awesome.

**Tags:** color, atmospherics

> **Comments:**
> **username_1**: A simple lerp (linear interpolation) between a light and dark blue would work.  
> **username_2**: When you say "sky" do you include clouds and the sun? Just earlier tonight part of the sky was bright pink and peach for a few minutes just before the sun went down.  
> **username_3**: You probably need the altitude, time of year, latitude, longitude, etc. to achieve a perfect result. For instance, there are days on the Arctic, when it's always black  
> **username_3**: https://www.scratchapixel.com/lessons/procedural-generation-virtual-worlds/simulating-sky/simulating-colors-of-the-sky  
> **username_4**: Are you asking about the Earth's sky?  
> **username_5**: As the other comments show, there is a very wide range of possible answers here, depending on your requirements. Could you [edit] to explain what you will be using these for, and how accurate they need to be, and whether you just want shades of blue or other sky objects like clouds, stars, sun, moon?  
> **username_6**: https://cgg.mff.cuni.cz/projects/SkylightModelling/HosekWilkie_SkylightModel_SIGGRAPH2012_Preprint.pdf  
> **username_6**: https://www.cs.utah.edu/~shirley/papers/sunsky/sunsky.pdf  

---

## 0 answers

