Advertisement

Sensing Colors

  • Neil Cameron
Chapter

Abstract

A color can be defined as a combination of red, green, and blue components, as shown in Figure 14-1. One byte or 8 bits is used to store each of the red, green, and blue values with 28 = 256 possible values for each of the red (R), green (G), and blue (B) components of the compound color. For example, magenta has a (255, 0, 255) RGB format.

Copyright information

© Neil Cameron 2019

Authors and Affiliations

  • Neil Cameron
    • 1
  1. 1.EdinburghUK

Personalised recommendations