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.

  • $\begingroup$ A simple lerp (linear interpolation) between a light and dark blue would work. $\endgroup$ – Andrew Wilson Nov 13 '17 at 19:39
  • 5
    $\begingroup$ Even for a given time of day (and a fixed atmospheric turbidity), the color of the sky is different in different directions. Mitsuba uses the model of Hosek and Wilkie, which I assume is the state of the art. $\endgroup$ – Rahul Nov 13 '17 at 21:49
  • 1
    $\begingroup$ 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. $\endgroup$ – user1118321 Nov 14 '17 at 5:30
  • 2
    $\begingroup$ 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 $\endgroup$ – Bálint Nov 15 '17 at 16:56
  • 1
    $\begingroup$ Are you asking about the Earth's sky? $\endgroup$ – wip Nov 23 '17 at 14:24

Browse other questions tagged or ask your own question.