AQA · GCSE · Computer Science
Course version: 8525 · Version from Sept 2020
Colour depth is the number of bits used to represent each pixel.
Full specification wording
Representing images: Colour depth is the number of bits used to represent each pixel.
Colour depth counts how many bits are stored for each individual pixel, so it fixes how many distinct colours that pixel can take.
Checked against the AQA 8525 specification (opens in a new tab) on .
- Point 6 of 18
Study notes
From the checked teaching notes for this specification point.
The idea
Colour depth counts how many bits are stored for each individual pixel, so it fixes how many distinct colours that pixel can take. With n bits per pixel there are 2ⁿ possible bit patterns, so colour depth n gives 2ⁿ colours: 1 bit gives 2 colours, 3 bits give 8, 8 bits give 256. A 4-bit pixel might store 1011, one of 16 patterns. More bits per pixel means more colours and smoother gradients, but each pixel needs more storage, so file size grows. Colour depth is a per-pixel property; it is not the total number of colours in the whole image and not the image's width or height. To answer, identify the bits per pixel and apply 2ⁿ.
What earns the marks
- Colour depth is the number of bits used to store each pixel.
- The number of colours available is 2ⁿ where n is the colour depth in bits.
- 1 bit gives 2 colours; 8 bits give 256 colours.
- Increasing colour depth increases the number of colours but also increases file size.
- Colour depth is a per-pixel value, not the image's pixel dimensions.
Common mistakes and how to put them right
Confusing colour depth with image resolution.
Put it right: Colour depth is bits per pixel, whereas resolution is the number of pixels (width × height).
Thinking 8-bit colour depth gives 8 colours.
Put it right: It gives 2⁸ = 256 colours.
Treating colour depth as the total number of colours in the image.
Put it right: It is the bits stored for each pixel, from which the colour count is calculated.
Exam tips
- Read the question for 'bits per pixel' and apply 2ⁿ before choosing an option.
- Check whether the question asks for bits per pixel or number of colours; they are different quantities.
- Link extra colour depth to larger file size when a question asks about consequences.
Try the lesson
The start of the Representing images: Colour depth is the number of bits used to represent each pixel. lesson, made from checked teaching notes for this specification point.
Have a go first
A bitmap image uses a colour depth of 4 bits per pixel. How many different colours can each pixel display?
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge
Test your understanding of Representing images: Colour depth is the number of bits used to represent each pixel.
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge