Binary Playground

Sixteen switches, one number. Flip a switch and watch the decimal, hex and octal readouts move together — or type a number into any of them and the switches rearrange to match. It starts on 0xC0DE, a number whose hex spells a word.

The switches

The same number, four ways

Combine it with a second number

bit by bit
first number
second number
decimal, or 0x for hex
result