1Link.Fun ç§‘æŠ€ć‘šćˆŠ

Color of the day

color of the day

Inspired by Hex Clock, color of the day is a way to mapping date to a specific hex color code.

Given a date yyyy-MM-dd, the background color in hex code is #yyMMdd.

The font color in hex code caculated by following formula:

for every number in 'yyMMdd':
  font color += (15 - number).toHex()

Take 2022-09-20 as example: