The color clock is a small experiment playing with colors related to
the time of the day. It calculates a color for every time of the day within
24h, trying to use the whole RGB spectrum. So the color is like a
'mood' for the time of the day. There are the following modes today:
- H:M:S colors: The hour, minute and second part of the time are taken as r,g,b value. This gives a new color for every second of the day :-)
- Smooth Colors: Tries to apply all colors over the day smoothly (without jumping), and uses a sophisticated triangle algorithms for this.
- RGB Color Wheel: Moves through the RGB colors during the day. Changes about all 48 seconds.
- Randomness: Changes colors, well, randomly. Every 30 seconds, a new color is chosen and faded into it within 10 secs.
This little experiment makes use of the 'Name That Color'
JS Library from Chirag Mehta.