How many bits in each colour channel for 8 bpp?

I know that 24 bpp (bits per pixel) means that there are three colour channels (RGB) with 8 bits in each.

But how many bits are there in the each channel for 8 bpp. Please advise.

If you want to subscribe to this thread and get an email every time the thread is updated, you need to register. Registration is free and carry no obligations.

One response:


The 24 bpp representation you mention is so-called direct colour, where the relative brightnesses of red, green and blue are directly encoded in the each channel.

Most 8 bpp representations use a different encoding system, called indexed colour. This system uses a palette instead of channels. VGA, for instance, uses an 8 bbp palette (providing 256 indexes) pointing to a 18 bbp colour table (6 bits for each channel). The VGA system could produce a total of 262 144 different colors, but only 256 of those could appear at the same time.

(There is a 8 bpp direct colour system that uses 3 bits for the red and green channels, and 2 bits for the blue, but it is not very much used.)

Se also this instructive article in Wikipedia.

Leave a comment.

Title (optional):


Enter the caracters below into the Verify-field to indicate that you are not a spambot.
To avoid having to enter a verify code, register at the site and log in before posting.
CAPTCHA Image new image 2
Verify code:  (Required.)
Your name:   (Required.)
Your email:   (Will not be published.)

Notice: If you feel that you have found inappropriate content on this site, please let us know by contacting us with the with the URL of problematic page. TIA.

This page is from: