Skip to content

FFFFFF in Decimal

Hexadecimal FFFFFF equals 16777215 in decimal.

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

FFFFFF 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 ffffff converts from hexadecimal to decimal

Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:

F× 165 = 15 × 1048576 = 15728640
F× 164 = 15 × 65536 = 983040
F× 163 = 15 × 4096 = 61440
F× 162 = 15 × 256 = 3840
F× 161 = 15 × 16 = 240
F× 160 = 15 × 1 = 15

Sum: 16777215

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 Hexadecimal to Decimal - the full step-by-step guide.