24-bit colour: three bytes per pixel
Each pixel uses 8 bits for red, 8 for green and 8 for blue. That is 3 bytes (24 bits) per pixel, giving 256 x 256 x 256 = about 16.7 million possible colours.
Understanding 24-bit colour: three bytes per pixel in ACARA Digital Technologies Years 7–8
What it does: A byte is 8 bits, so dividing 24 bits by 8 shows each pixel needs 3 bytes, one per colour channel. The 24 bits are split into three equal parts: 8 for red, 8 for green and 8 for blue. Each of the three channels has 256 levels, and every combination is a different colour, so you multiply. That gives about 16.7 million colours. 256 x 256 x 256 = 16,777,216. Adding 256 three times only gives 768, which is not how combinations work.
Common mistakes: In 24-bit colour each of red, green and blue uses 8 bits. Green should be g = 8, so the total is 8 + 8 + 8 = 24 bits. The 8 bits are used for each of the 3 channels, so you multiply: 8 * 3 = 24 bits. Adding gives 11, which is wrong.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 153–172) and word search (Modules 153–188).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
24-bit colourFill in the Blanks
Spot the Error
Student with a class code? Join your class →