Binary Switch Game

Flip the switches to explore how binary digits translate to decimal values. Each switch controls a bit in an 8-bit binary number. The rightmost switch is worth 1 and each bit doubles in value as you move left. Turn a switch on to set the bit to 1, or off to set it to 0.

2^7128
2^664
2^532
2^416
2^38
2^24
2^12
2^01
Binary0000 0000
Decimal0
Hexadecimal0x00