Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RGB 565 - Why 6 Bits for Green Color

Tags:

I was checking different RGB formats and i was wondering why in the RGB-565 to the green color are assigned 6 bits and to the red and blue 5? Is there any particular reason behind the green color or is it just an esthetic choice for the sake of symmetry (565 instead of 655 or 556)?

like image 593
eldjon Avatar asked Aug 24 '14 01:08

eldjon


People also ask

How many bits are in RGB?

Usually, RGB, grayscale, and CMYK images contain 8 bits of data per color channel. That is why an RGB image is often referred to as 24-bit RGB (8 bits x 3 channels), a grayscale image is referred to as 8-bit grayscale (8 bits x channel), and a CMYK image is referred to as 32-bit CMYK (8 bits x 4 channels).

What is RGB 16 bit?

16-bit RGBIt utilizes a color palette of 32×64×32 = 65,536 colors. Usually, there are 5 bits allocated for the red and blue color components (32 levels each) and 6 bits for the green component (64 levels), due to the greater sensitivity of the common human eye to this color.

What is RGB color palette?

RGB Color Mode RGB is the color scheme that is associated with electronic displays, such as CRT, LCD monitors, digital cameras and scanners. It is an additive type of color mode that combines the primary colors, red, green and blue, in various degrees to create a variety of different colors.


1 Answers

To pack a colour in 2 bytes = 16 bits, you have 2 commons ways:

  • encode the RGB components in 5 bits each. This is easiest to code/decode and provide a consistent gradation, at the expense of wasting 1 bit.

  • encode 2 colours in 5 bits and one in 6 bits. That way you don't waste any precious bit but now you have to deal with the discrepancy of encoding/decoding. The green channel was chosen to be 6 bits because our eye is more sensitive to gradations of green than gradation of red or blue (we're quite poor at differentiating blue actually).

Actually, the eye is more sensitive to gradations of yellowish-green rather than just green because that's when both types of receptors in the eye (cones) are stimulated together.

Here is the gamut of observable colours, as defined by the CIE 1931 color space standard:

Colour Gamut

Even though what you are seeing is not accurate since it's represented on a computer screen which has an inferior gamut than what the human eye can see, you can still see that the amount of visible light in the various greens contains more variation than in the blue, or even red.

like image 110
Renaud Bompuis Avatar answered Sep 24 '22 06:09

Renaud Bompuis