Unitrify

Decimal to Hexadecimal

255 = FF in hex

Result (hexadecimal)

ff

255 in decimal is FF in hexadecimal. Developers use this to write colour codes, byte values and memory addresses. For other values, use the Number Converter.

How it works

Divide by 16 repeatedly and read the remainders (0–9, A–F) from bottom to top

Decimal to hexadecimal table

DecimalHexadecimal
10A
15F
1610
10064
255FF
256100
10003E8
65535FFFF

Frequently asked questions

What is 100 in hex?

100 in decimal is 64 in hex.

What is 4096 in hex?

4096 is 1000 in hex (16 × 16 × 16).

Should hex letters be upper or lower case?

Both mean the same value. This converter shows lower case, which is common in code; colour codes are often written in upper case.

Related converters