About number bases and place value
A number base (radix) defines how many digits are used and what each position is worth. Decimal uses ten digits and powers of ten, binary uses just two digits and powers of two, and hexadecimal uses sixteen digits and powers of sixteen.
The value itself never changes — only how it is written. These conversions are pure integer math and exact: 255 is always 0xFF.