Hexadecimal Color Codes
Learn how color codes can be presented more compactly in hexadecimal format.
Color representation in memory
The different colors are represented by different intensities of red, green, and blue channels, as shown in the figure. For an eight-bit pixel, each of these three intensities ranges from 0 to 255. Therefore, each channel requires 8 bits from memory. The following figure shows how black and white pixels are stored in memory. The top, middle, and bottom rows represent the intensity of the red, green, and blue channels, respectively. ...
Different intensities of red, green, and blue channels
Get hands-on with 1400+ tech skills courses.