Clicky

Mercyhurst UniversityMath DeptDr Williams Home

Math 110: Math Applications, Art


Back to Course Home

RGB Colors

The screen you are viewing this webpage on contains thousands of pixels, often so small you can barely see them. Each pixel includes red, green, and blue bulbs, each of which can be controlled individually. There are 256 levels of red, 256 levels of blue, and 256 levels of green, giving us a total of 16,777,216 possible colors that can be created simply by dimming and brightening the red, green, and blue bulbs.

The diagram on the left represents a typical pixel. As you adjust the red, green, and blue bulbs, the rectangle on the right displays the color you've created by lighting each pixel in the rectangle with that exact color "formula".

References and Further Reading

  1. Saber com Lógica: Pixel and RGB, The Digital World
  2. Wikipedia, RGB Color Model
  3. The allRGB Project