Perform arithmetic in hexadecimal and convert between hex, decimal, binary, and octal. Useful for programming, colour codes, and memory addresses.
Colour Code Converter
| Base | Value |
|---|
Hexadecimal (base 16) uses digits 0–9 and letters A–F. It is widely used in programming, HTML colour codes, memory addresses, and low-level computing because each hex digit maps exactly to 4 binary bits (a nibble).
| Hex | Dec | Binary | Hex | Dec | Binary |
|---|---|---|---|---|---|
| 0 | 0 | 0000 | 8 | 8 | 1000 |
| 1–7 | 1–7 | 0001–0111 | 9 | 9 | 1001 |
| A | 10 | 1010 | B | 11 | 1011 |
| C | 12 | 1100 | D | 13 | 1101 |
| E | 14 | 1110 | F | 15 | 1111 |