# Explaining the color scheme

A project log for W-Ring

An RGB led Clock-Ring

One of the main features of this watch is that is capable of showing the time with 3 leds. For translating  a color scheme to a readable hour you have to do some math in to your head.

Each color represents some number (this table could vary):

 Number: Color: 0 Black 1 Red 2 Green 3 Blue 4 Yellow 5 Cyan 6 Magenta 7 White

Lets have for example Green - White - Black, would be translated to 2 - 7 - 0

270 in octal is 2 * 64 + 7 * 8 + 0 * 1 = 184 in decimal. Now, each unit in 184 represents 5 minutes from 00:00h, a total of 920 minutes have passed. 920/60 = 15h and 20m so the time is 15:20h.

There're some handy hours:

 Color Octal Decimal Hour Black Black Black 000 0 00:00h Black Red Yellow 014 12 01:00h Green Green Black 220 144 12:00h Red Red Black 110 72 06:00h Blue Blue Black 330 216 18:00h

We can see some patterns, like the 110 - 220 - 330, and probably there are more, so if you found some interesting time saving patterns I'm glad to read it!