Convertes time into RGB color value. I got this idea from
here
.
Info