Color bit depth, Glossary and Palettes

Color Depth or Bit Depth is a term that means a number of bits allocated to completely define a color for a single pixel (bpp bits-per-pixel). The more memory we use for a color definition - the more accurate color will we have - the wider range of colors hues and shades we can display.

This approach used for a simple bitmap image only. More complex photo or video formats has a bit different concept to compress data size. There are bits-per-color, bits-per-channel, bits-per-component, bits-per-sample, etc concepts with quite the same idea.

Visual Bit Depth Color Difference

Bit Depth Explorer

Switch palette
to check a difference

1-6 bit colors

A low bit color depth typically takes a small amount of memory. It is more efficient to have a predefined color palette and use the only index of a single color to define a pixel. Early computer systems use hardware defined palette of such colors.

Monochromatic - Gray Scale

1 bit (2 colors) -1 bit color palette has two сomplementary colors depends on a platform realization. Typical colors for 1-bit color depth is black and white as on example.

2 bit(4 colors) - a range of gray colors. 2 bit color palette is a better version of 1bit, including 2extra shades. It is a simple example of such palette. A color code can be different on different platforms.

4bit(16 colors) - produce much better quality of monochrome images. More smooth color borders.

8bit(256 colors) - a full range grayscale palette. It has the same amount of gray shades as standard 24bit rgb color space. Most modern scanners use the current scheme to capture images.

RGB Color bit depth

The minimum bit depth for RGB colors is 3(1bit per R, G, B channel). More about RGB color scheme.

3bit(8 colors) - bit per channel. Only one state (0/1) for each R G B color. Produce 8 colors include white and black. White mean all bits have 1 value. Black - all bits switched 'off'(0). In practice, different systems that use a 3bit palette have different indexed color values. It very depends on screen/system implementation.
Here you can see computed 3bit palette converted to a 24bit palette.

6bit(64 colors) - It has 2 bit memory allocated per each color component(R G and B). Calculation is pretty simple. 2 bit present 4 possible values. That gives us 64 possible values for 6 bit color palette.

8/9-bits RGB

8bit is an edge. Here is become not efficient to keep the colors table in memory. It is a quite limited true color system with a 256 color range. Combine 3 colors channels RGB, R and G - 3bit(8 levels), B - 2bits(3 bits in case of 9bit color). Blue channel has a limited amount of levels due to human eye limitation.

Developed for VGA standard in 1987, but still in use for systems with limited bandwidth or memory capacity.

12/15/18 bits RGB

Better quality RGB palette, grown up a number of bits per color component. 4/5/6 bits per RGB channel respectively.

High color (16-bit color)

Not regular color palette. Usually 5bit per for Red and Blue and 6bits for Green component. Which produces 65.536 different colors. The human eye better determines Green color, this approach save 2bits per pixel. This kind of system for saving image data was very popular before the True Color standard was presented.

True Color (24-bit)

24-bit color depth becomes a worldwide minimal standard for all kinds of screens. It is the default Color standard for all development platforms.

Memory usage - 24bit per pixel mean 8bits per RGB color channel. Sometimes it takes up to 32bits including alpha color component. Such an amount of bits provides 16,777,216 colors. This value is close to the human eye determining level.

Deep Colors

Deep Colors - 30/32/48-bit color depth produce more than 1billion colors. It has 10/12/16 bits per color channel. And can take up to 64bit per color including alpha level.

This standard uses for photo/video software like Photoshop.

Color Depth Table

1bit2MonochromeMonochrome Monitors, IBM Personal Computer
2bit4GrayscaleGame Boy, Amazon Kindle, Apple PowerBook 150
3bit8RGBText Terminals, Teletext, Macintosh SE, BBC Micro
4bit16RGBI (3bit RGB + intensity)ZX Spectrum, MOS Technology 8563
4bit16GrayscaleMacintosh PowerBook, Macintosh PowerBook 5300, Amstrad CPC
6bit64RGBIBM PC/AT, SEGA Master System
8bit256GrayscaleMost Modern Scanners, TIFF, JPEG, Alpha Channel masks
8bit256RGB (3*3*2)Wear OS, SGI Indy
9bit512RGBAtari ST, Genesis Nomad
12bit4.096RGBApple IIGS, Game Gear
15bit32.768RGB, High Color, Thousands of colorsSuper Nintendo Entertainment System, Game Boy Color, Nintendo DS
16bit65.536RGB (32*64*32), High Color, Thousands of colorsModern Video Cards and OS
18bit262.144RGBAtari Falcon, VGA, LCD Monitors
24bit16.777.216RGB, True Color, Millions of colorsSVGA(Super VGA), Nintendo Switch, PlayStation
30bit1.073.741.824RGBOnly few Video Cards and OS support