What Color Is It? is a simple Color Clock Javascript function I wrote (and I'm probably not the first to do so) that takes the current time, converts it to a hexadecimal value and sets the background to that color value. The function runs every second to accurately reflect a real clock. I included a 12/24 hour toggle so you can switch choose depending on which you prefer. I considered having the options as "'Murica Time" and "Commie Time" but figured using the numbers instead would be a more professional thing to do.

See it live: What Color Is It?

Keep Up With Harner Designs!

Get updates about New Projects, Products, Discounts, and Giveaways from Harner Designs!

By submitting your email, you agree to our Privacy Policy and give us consent to send you marketing and promotional emails. You can unsubscribe at any time.