RGB values from 0 to 255
Each RGB number runs from 0 (none of that colour) to 255 (full strength). It fits in one byte, which holds 256 values.
Understanding RGB values from 0 to 255 in ACARA Digital Technologies Years 7–8
What it does: Each of the three values sits between 0 and 255. Here red is off, green is about half strength and blue is fully on. Eight bits that are all 1 make the largest one-byte number, 255. That is why RGB colour values stop at 255. 0 means none of that colour. A red value of 0 switches the red light off. Each number must be between 0 and 255. 300 is too big. rgb(255, 0, 0) is pure red. Counting starts at 0, so the values run from 0 up to 255. The values 0 to 255 include 0, so there are 256 of them.
Common mistakes: An RGB value can only go from 0 to 255 because it is stored in one byte. 256 is too big, so blue must be a number from 0 to 255, such as 200. Black means every colour is switched off. Green should be 0 (none of that colour), not 255, which is fully on.
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 128–152) and word search (Modules 69–152).
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
rgb(0-255)Fill in the Blanks
Spot the Error
Student with a class code? Join your class →