What number is #FFFFFF?

Twenty-four bits of ones, 16777215 in decimal, and one fewer than 256 cubed.

Number bases and coding · Level: Classroom · Updated on 2026-11-10

Type FFFFFF into the base converter with the source radix set to 16 and the decimal line reads Decimal DEC 16777215. That is 256³ − 1: every one of the 16 777 216 colours counted from zero, so white is the last address in the space.

One channel alone is FF, which is DEC 255 — the eight-bit maximum the format allows per channel. Middle grey is 808080, 128 in each channel, and the converter renders it as DEC 8421504. That is what a hex triplet is worth: three bytes read as one place-value number.

Answer

16777215

How to read it

Decimal DEC on the base card for FFFFFF, which is 256³ − 1 — the highest 24-bit colour value.

Source

The HTML '#rrggbb' notation and the CSS named colours; eight bits per channel is the sRGB convention

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.