I've developed another version using sine functions, since this one seems a little arbitrary just plotting hours, minutes and seconds into hexadecimal values: http://whatcolorisit.sumbioun.com/
It covers the entire spectrum in 24 hours, providing a smoother composition of colors during the day. Each time of day has its own color, which is modulated tens of times every second.