Color Activity

Checkpoints on this Page:

Understanding RGB

To understand how Smokey Buoy uses color to monitor water quality, we need to understand how computers see color. Computers aren’t like us—they don’t have eyes. Instead, computers understand color through numbers.

When a computer displays or processes an image, that image is really a combination of millions of little squares called pixels, and each of these pixels has a value for Red (R), Green (G), and Blue (B). The color of each pixel is a combination of these three values.

Let’s take a look at how this works!


Pixels and RGB Values

🎯 Checkpoint 6. a: Exploring pixels and RGB Values

Materials Needed:

  • APPLET
    • This will open in a new tab.
    • You may need to grant access to your camera for it to work.
    • Apple, Orange, Lime (from previous activity)
  • Handout
  • Pencil

Use the applet and follow the instructions on the handout, which are also listed below.

  1. The applet starts with “What Humans See” selected. Hold the apple up to the camera. Notice it captures its likeness?

  2. Change the mode to “What Computers See”. It will default to the Red channel first.

  3. Focus on an area at the center of the apple and record the value for R.

  4. Use the dropdown menu to change the channel to G. Look at the same area (or as close to possible) on the apple, record the value for G.

  5. Repeat this process for the B channel.

  6. Repeat this process for the orange, lime, and each of the purple cards.