Hexadecimal explained
Hexadecimal is base-16. Each digit covers exactly 4 bits, which makes it the most compact human-readable form of binary — and why colors, memory addresses, MAC addresses and hashes are all written in hex.
Convert hex → binary by replacing each digit with its 4-bit pattern. Convert hex → decimal by treating each digit as a coefficient of a power of 16.