Please enable JavaScript to use CodeHS

AP Computer Science Principles in JavaScript

Lesson 8.6 Pixel Colors!

Description

In this lesson, students will learn how the RGB encoding scheme allows us to encode colors as numeric data. It defines the amount of red, green and blue light in a pixel.


Objective

Students will be able to:

  • Encode colors
  • Encode color images as data