The Maths Behind Everyday Life
The story, the formula and a worked example — see exactly where this maths shows up in the world around you.
Why 24-bit colour means 16 million shades
Each bit doubles the palette, so a few extra bits explode into millions of colours.
A digital image stores each pixel colour as a run of bits. Because every extra bit doubles the number of possible values, 24-bit colour reaches over 16 million shades — more than the human eye can tell apart.
Bits double the palette
The number of colours is 2 raised to the number of bits. Split across red, green and blue, 24 bits means 8 bits each.
Palette size for b bits per pixel
Counting 24-bit colour
Eight bits per channel, three channels.
How many shades
- 1
Per channel
- 2
All three channels
- 3
Why it looks smooth
Over 16 million steps is finer than the eye resolves, so gradients look continuous.
16,777,216 colours — true colour, beyond what the eye can distinguish.
The formula behind it
Colour Depth
The takeaway
Colour depth is 2 to the power of the bits per pixel. Doubling per bit is why 24-bit images already exceed what we can see.