Skip to content

16777215 in Hexadecimal

Decimal 16777215 equals 0xFFFFFF in hexadecimal.

Why this number matters: 16777215 is 0xFFFFFF - the highest 24-bit value and the number of colors in 24-bit RGB (white, #FFFFFF).

16777215 in all number bases

Decimal16777215
Hexadecimal0xFFFFFF
Binary1111 1111 1111 1111 1111 1111
Octal77777777

Try another value

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

Input base:
Decimal16777215
Hex0xFFFFFF
Binary0b111111111111111111111111
Octal0o77777777

How 16777215 converts from decimal to hexadecimal

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

16777215÷ 16 =1048575remainder15 → F
1048575÷ 16 =65535remainder15 → F
65535÷ 16 =4095remainder15 → F
4095÷ 16 =255remainder15 → F
255÷ 16 =15remainder15 → F
15÷ 16 =0remainder15 → F

Result (remainders bottom to top): FFFFFF

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.