Skip to content

255 in Hexadecimal

Decimal 255 equals 0xFF in hexadecimal.

Why this number matters: 255 is the maximum value of an unsigned byte (8 bits, 0xFF) and the highest value of each RGB color channel.

255 in all number bases

Decimal255
Hexadecimal0xFF
Binary1111 1111
Octal377

How 255 converts from decimal to hexadecimal

Divide by 16 repeatedly and keep each remainder, then read the remainders from bottom to top:

255÷ 16 =15remainder15 → F
15÷ 16 =0remainder15 → F

Result (remainders bottom to top): FF