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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Neil Cameron
About this chapter
Cite this chapter
Cameron, N. (2019). Sensing Colors. In: Arduino Applied. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3960-5_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3960-5_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3959-9
Online ISBN: 978-1-4842-3960-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)