build: link to the sourcehut repo
build: serve the Space Mono font from this project
build: move hosting to sourcehut pages
This repository contains the source code for the Colour Year Hex Clock website, a clock that displays the progress of the year in hex colour codes.
The clock starts at #000000
at midnight December 31 UTC and counts up to #FFFFFF
at the end of the year. It displays the current hex code and sets the page background colour to the corresponding colour. The clock measures the progress of the year in 16,777,216 colours and will increment approximately every 1.9 seconds (year / 16,777,216).
The current hex colour code is displayed in either black or white, whichever provides the highest contrast using the Web Content Accessibility Guidelines (WCAG) 2.1 luminance calculation.
Colour Year is licensed under the MIT license.
This project includes the Space Mono font, Copyright 2016 Google, Inc. licensed under the SIL Open Font License Version 1.1. See SpaceMono.LICENSE.txt. The font was downloaded with:
wget https://github.com/googlefonts/spacemono/raw/f5ebc1e1c0/fonts/SpaceMono-Regular.ttf