Binary & Information
Math · Intermediate · Lesson 3 of 7

Hexadecimal & Colour

Base 16 and screen pixels

An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.

What you’ll learn

  • Hexadecimal uses 0–9 and A–F. One hex digit is exactly 4 bits.
  • Screen colours mix red, green and blue light, one byte each (#RRGGBB).
  • 24-bit colour gives 224≈16.72^{24} \approx 16.7 million colours.

Steps

  1. Base 16
  2. Read hex
  3. Mixing light
  4. Hex to decimal
  5. Orange
  6. How many colours?