Convert Decimal numbers like 255
into Hexadecimal format like FF
.
Decimal is the base-10 number system that uses digits from 0
to 9
. It is the most commonly used system in daily life.
Hexadecimal (base-16) uses digits from 0–9
and letters A–F
(where A=10, B=11,..., F=15). It's often used in computer science to represent binary data compactly.
255
→ FF
Decimal | Hexadecimal |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
10 | A |
11 | B |
12 | C |
13 | D |
14 | E |
15 | F |