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

Try another value

Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.

Input base:
Decimal255
Hex0xFF
Binary0b11111111
Octal0o377

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

This tool runs entirely in your browser - nothing you enter is uploaded or stored.

Want to learn the method behind this tool? Read How to Convert Decimal to Hexadecimal - the full step-by-step guide.