Lesson 2 - A Splash Of Colour
In the early days of personal computers, graphics were displayed in a range of different resolutions and colour depths, depending on the hardware available. Nowadays, while resolution is still being increased, there is no mention of colour depth or the number of possible colours available. We have used 24 or 32 bits for years, as this has been sufficient.
In the previous lesson, students were introduced to the idea that the colour of each pixel can be represented as a sequence of binary digits. In this lesson, they will explore the most common representation of colour as a mixture of red, green, and blue: the level of each of these colours in the mixture is represented using an 8-bit sequence, producing a total of 24 bits to represent the colour of any single pixel.
Students will also build on their existing knowledge to calculate the representation size of digital images.
This lesson is the second in a six session teaching unit provided by the National Centre for Computing Education.