Color depth
   HOME

TheInfoList



OR:

Color depth or colour depth (see spelling differences), also known as bit depth, is either the number of bits used to indicate the color of a single
pixel In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a raster image, or the smallest point in an all points addressable display device. In most digital display devices, pixels are the ...
, or the number of bits used for each color component of a single pixel. When referring to a pixel, the concept can be defined as bits per pixel (bpp). When referring to a color component, the concept can be defined as bits per component, bits per channel, bits per color (all three abbreviated bpc), and also bits per pixel component, bits per color channel or bits per sample (bps). Modern standards tend to use bits per component, but historical lower-depth systems used bits per pixel more often. Color depth is only one aspect of color representation, expressing the precision with which the amount of each primary can be expressed; the other aspect is how broad a range of colors can be expressed (the
gamut In color reproduction, including computer graphics and photography, the gamut, or color gamut , is a certain ''complete subset'' of colors. The most common usage refers to the subset of colors which can be accurately represented in a given circ ...
). The definition of both color precision and gamut is accomplished with a color encoding specification which assigns a digital code value to a location in a
color space A color space is a specific organization of colors. In combination with color profiling supported by various physical devices, it supports reproducible representations of colorwhether such representation entails an analog or a digital represen ...
. The number of bits of resolved intensity in a color channel is also known as radiometric resolution, especially in the context of satellite images.


Comparison

adaptive palette so quality may be better than some systems can provide."> File:24 bit.png, 16,777,216 colors
98 KB File:8 bit.png, 256 colors
37 KB (−62%) File:4 bit.png, 16 colors
13 KB (−87%) File:2 bit.png, 4 colors
6 KB (−94%) File:1 bit.png, 2 colors
4 KB (−96%)


Indexed color

With the relatively low color depth, the stored value is typically a number representing the index into a color map or
palette Palette may refer to: * Cosmetic palette, an archaeological form * Palette, another name for a color scheme * Palette (painting), a wooden board used for mixing colors for a painting ** Palette knife, an implement for painting * Palette (company) ...
(a form of vector quantization). The colors available in the palette itself may be fixed by the hardware or modifiable by software. Modifiable palettes are sometimes referred to as
pseudocolor False color (or pseudo color) refers to a group of color rendering methods used to display images in color which were recorded in the visible or non-visible parts of the electromagnetic spectrum. A false-color image is an image that depicts ...
palettes. Old graphics chips, particularly those used in home computers and video game consoles, often have the ability to use a different palette per sprites and tiles in order to increase the maximum number of simultaneously displayed colors, while minimizing use of then-expensive memory (and bandwidth). For example, in the ZX Spectrum the picture is stored in a two-color format, but these two colors can be separately defined for each rectangular block of 8×8 pixels. The palette itself has a color depth (number of bits per entry). While the best VGA systems only offered an 18-bit (262,144 color) palette from which colors could be chosen, all color Macintosh video hardware offered a 24-bit (16 million color) palette. 24-bit palettes are pretty much universal on any recent hardware or file format using them. If instead the color can be directly figured out from the pixel values, it is "direct color". Palettes were rarely used for depths greater than 12 bits per pixel, as the memory consumed by the palette would exceed the necessary memory for direct color on every pixel.


List of common depths


1-bit color

2 colors, often black and white (or whatever color the CRT phosphor was) direct color. Sometimes 1 meant black and 0 meant white, the inverse of modern standards. Most of the first graphics displays were of this type, the
X window system The X Window System (X11, or simply X) is a windowing system for bitmap displays, common on Unix-like operating systems. X provides the basic framework for a GUI environment: drawing and moving windows on the display device and interacting wi ...
was developed for such displays, and this was assumed for a
3M computer 3M was a goal first proposed in the early 1980s by Raj Reddy and his colleagues at Carnegie Mellon University (CMU) as a minimum specification for academic/technical workstations: at least a ''megabyte'' of memory, a ''megapixel'' display and a ''m ...
. In the late 80's there were professional displays with resolutions up to 300dpi (the same as a contemporary laser printer) but color proved more popular.


2-bit color

4 colors, usually from a selection of fixed palettes. The CGA, gray-scale early NeXTstation, color Macintoshes, Atari ST medium resolution.


3-bit color

8 colors, almost always all combinations of full-intensity red, green, and blue. Many early home computers with TV displays, including the ZX Spectrum and BBC Micro.


4-bit color

16 colors, usually from a selection of fixed palettes. Used by the EGA and by the least common denominator VGA standard at higher resolution, color Macintoshes, Atari ST low resolution, Commodore 64, Amstrad CPC.


5-bit color

32 colors from a programmable palette, used by the Original Amiga chipset.


8-bit color

256 colors, usually from a fully-programmable palette. Most early color Unix workstations,
VGA Video Graphics Array (VGA) is a video display controller and accompanying de facto graphics standard, first introduced with the IBM PS/2 line of computers in 1987, which became ubiquitous in the PC industry within three years. The term can now ...
at low resolution, Super VGA, color Macintoshes,
Atari TT The Atari TT030 is a member of the Atari ST family, released in 1990. It was originally intended to be a high-end Unix workstation, but Atari took two years to release a port of Unix SVR4 for the TT, which prevented the TT from ever being serious ...
, Amiga AGA chipset, Falcon030, Acorn Archimedes. Both X and Windows provided elaborate systems to try to allow each program to select its own palette, often resulting in incorrect colors in any window other than the one with focus. Some systems placed a color cube in the palette for a direct-color system (and so all programs would use the same palette). Usually fewer levels of blue were provided than others, as the normal human eye is less sensitive to the blue component than to the red or green (two thirds of the eye's receptors process the longer wavelengths) Popular sizes were: * 6×6×6 (
web-safe colors Web colors are colors used in displaying web pages on the World Wide Web, and the methods for describing and specifying those colors. Colors may be specified as an RGB triplet or in hexadecimal format (a ''hex triplet'') or according to their c ...
), leaving 40 colors for a gray ramp or programmable palette entries. * 8×8×4. 3 bits of R and G, 2 bits of B, the correct value can be computed from a color without using multiplication. Used, among others, in the MSX2 system series of computers in the early to mid 1990s. * a 6×7×6 cube, leaving 4 colors for a programmable palette or grays. * a 6×8×5 cube, leaving 16 colors for a programmable palette or grays.


12-bit color

4096 colors, usually from a fully-programmable palette (though it was often set to a 16×16×16 color cube). Some
Silicon Graphics Silicon Graphics, Inc. (stylized as SiliconGraphics before 1999, later rebranded SGI, historically known as Silicon Graphics Computer Systems or SGCS) was an American high-performance computing manufacturer, producing computer hardware and soft ...
systems, Color NeXTstation systems, and
Amiga Amiga is a family of personal computers introduced by Commodore International, Commodore in 1985. The original model is one of a number of mid-1980s computers with 16- or 32-bit processors, 256 KB or more of RAM, mouse-based GUIs, and sign ...
systems in HAM mode have this color depth. RGBA4444, a related 16bpp representation providing the color cube and 16 levels of transparency, is a common texture format in mobile graphics.


High color (15/16-bit)

In high-color systems, two bytes (16 bits) are stored for each pixel. Most often, each component (R, G, and B) is assigned 5 bits, plus one unused bit (or used for a mask channel or to switch to indexed color); this allows 32,768 colors to be represented. However, an alternate assignment which reassigns the unused bit to the G channel allows 65,536 colors to be represented, but without transparency. These color depths are sometimes used in small devices with a color display, such as mobile phones, and are sometimes considered sufficient to display photographic images. Occasionally 4 bits per color are used plus 4 bits for alpha, giving 4096 colors. Among the first hardware to use the standard were the Sharp X68000 and IBM's Extended Graphics Array (XGA). The term "high color" has recently been used to mean color depths greater than 24 bits.


18-bit

Almost all of the least expensive LCDs (such as typical
twisted nematic The twisted nematic effect (''TN-effect'') was a main technology breakthrough that made LCDs practical. Unlike earlier displays, TN-cells did not require a current to flow for operation and used low operating voltages suitable for use with batteri ...
types) provide 18-bit color (64×64×64 = 262,144 combinations) to achieve faster color transition times, and use either dithering or
frame rate control rate control (FRC) is a method for achieving greater color depth in TFT LCD displays. Older TN panels represented colors using only 6 bits per RGB color, or 18 bit in total, and were unable to display the 16.78 million color shades (24-bit tru ...
to approximate 24-bit-per-pixel true color, or throw away 6 bits of color information entirely. More expensive LCDs (typically IPS) can display 24-bit color depth or greater.


True color (24-bit)

24 bits almost always use 8 bits each of R, G, and B (8 bpc). As of 2018, 24-bit color depth is used by virtually every computer and phone display and the vast majority of image storage formats. Almost all cases of 32 bits per pixel assigns 24 bits to the color, and the remaining 8 are the alpha channel or unused. 224 gives 16,777,216 color variations. The human eye can discriminate up to ten million colors, and since the
gamut In color reproduction, including computer graphics and photography, the gamut, or color gamut , is a certain ''complete subset'' of colors. The most common usage refers to the subset of colors which can be accurately represented in a given circ ...
of a display is smaller than the range of human vision, this means this should cover that range with more detail than can be perceived. However, displays do not evenly distribute the colors in human perception space, so humans can see the changes between some adjacent colors as color banding. Monochromatic images set all three channels to the same value, resulting in only 256 different colors; some software attempts to dither the gray level into the color channels to increase this, although in modern software this is more often used for subpixel rendering to increase the space resolution on LCD screens where the colors have slightly different positions. The
DVD-Video DVD-Video is a consumer video format used to store digital video on DVD discs. DVD-Video was the dominant consumer home video format in Asia, North America, Europe, and Australia in the 2000s until it was supplanted by the high-definition Blu- ...
and
Blu-ray Disc The Blu-ray Disc (BD), often known simply as Blu-ray, is a digital optical disc data storage format. It was invented and developed in 2005 and released on June 20, 2006 worldwide. It is designed to supersede the DVD format, and capable of sto ...
standards support a bit depth of 8 bits per color in YCbCr with 4:2:0 chroma subsampling. YCbCr can be losslessly converted to RGB. MacOS refers to 24-bit colour as "millions of colours". The term ''true colour'' is sometimes used to mean what this article is calling ''direct colour''. It is also often used to refer to all color depths greater or equal to 24.


Deep color (30-bit)

''Deep color'' consists of a billion or more colors. 230 is 1,073,741,824. Usually this is 10 bits each of red, green, and blue (10 bpc). If an alpha channel of the same size is added then each pixel takes 40 bits. Some earlier systems placed three 10-bit channels in a 32-bit
word A word is a basic element of language that carries an objective or practical meaning, can be used on its own, and is uninterruptible. Despite the fact that language speakers often have an intuitive grasp of what a word is, there is no conse ...
, with 2 bits unused (or used as a 4-level alpha channel); the Cineon file format, for example, used this. Some SGI systems had 10- (or more) bit digital-to-analog converters for the video signal and could be set up to interpret data stored this way for display. BMP files define this as one of its formats, and it is called "HiColor" by
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washi ...
.
Video cards A graphics card (also called a video card, display card, graphics adapter, VGA card/VGA, video adapter, display adapter, or mistakenly GPU) is an expansion card which generates a feed of output images to a display device, such as a computer mo ...
with 10 bits per component started coming to market in the late 1990s. An early example was the
Radius In classical geometry, a radius (plural, : radii) of a circle or sphere is any of the line segments from its Centre (geometry), center to its perimeter, and in more modern usage, it is also their length. The name comes from the latin ''radius'', ...
ThunderPower card for the Macintosh, which included extensions for QuickDraw and Adobe Photoshop plugins to support editing 30-bit images. Some vendors call their 24-bit color depth with FRC panels 30-bit panels; however, true deep color displays have 10-bit or more color depth without FRC. The
HDMI High-Definition Multimedia Interface (HDMI) is a proprietary audio/video interface for transmitting uncompressed video data and compressed or uncompressed digital audio data from an HDMI-compliant source device, such as a display controlle ...
 1.3 specification defines a bit depth of 30 bits (as well as 36 and 48 bit depths). In that regard, the Nvidia Quadro graphics cards manufactured after 2006 support 30-bit deep color and Pascal or later GeForce and Titan cards when paired with the Studio Driver as do some models of the Radeon HD 5900 series such as the HD 5970. The
ATI FireGL AMD FirePro was AMD's brand of graphics cards designed for use in workstations and servers running professional Computer-aided design (CAD), Computer-generated imagery (CGI), Digital content creation (DCC), and High-performance computing/GPGP ...
V7350 graphics card supports 40- and 64-bit pixels (30 and 48 bit color depth with an alpha channel). The
DisplayPort DisplayPort (DP) is a digital display interface developed by a consortium of PC and chip manufacturers and standardized by the Video Electronics Standards Association (VESA). It is primarily used to connect a video source to a display device su ...
specification also supports color depths greater than 24 bpp in version 1.3 through " VESA Display Stream Compression, which uses a visually lossless low-latency algorithm based on predictive DPCM and YCoCg-R color space and allows increased resolutions and color depths and reduced power consumption." At WinHEC 2008, Microsoft announced that color depths of 30 bits and 48 bits would be supported in
Windows 7 Windows 7 is a major release of the Windows NT operating system developed by Microsoft. It was Software release life cycle#Release to manufacturing (RTM), released to manufacturing on July 22, 2009, and became generally available on October 22, ...
, along with the wide color gamut
scRGB scRGB is a wide color gamut RGB color space created by Microsoft and HP that uses the same color primaries and white/black points as the sRGB color space but allows coordinates below zero and greater than one. The full range is −0.5 through j ...
.
High Efficiency Video Coding High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2, is a video compression standard designed as part of the MPEG-H project as a successor to the widely used Advanced Video Coding (AVC, H.264, or MPEG-4 Part 10). In comp ...
(HEVC or H.265) defines the Main 10 profile, which allows for 8 or 10 bits per sample with 4:2:0 chroma subsampling. The Main 10 profile was added at the October 2012 HEVC meeting based on proposal JCTVC-K0109 which proposed that a 10-bit profile be added to HEVC for consumer applications. The proposal stated that this was to allow for improved video quality and to support the
Rec. 2020 ITU-R Recommendation BT.2020, more commonly known by the abbreviations Rec. 2020 or BT.2020, defines various aspects of ultra-high-definition television (UHDTV) with standard dynamic range (SDR) and wide color gamut (WCG), including picture ...
color space that will be used by UHDTV. The second version of HEVC has five profiles that allow for a bit depth of 8 bits to 16 bits per sample. As of 2020, some smartphones have started using 30-bit color depth, such as the OnePlus 8 Pro,
Oppo Find X2 The Oppo Find X2 and Find X2 Pro are Android-based smartphones manufactured by Oppo, unveiled on 6 March 2020. Specifications Design The Find X2 and Find X2 Pro are constructed using an anodized aluminum frame and curved Gorilla Glass 6 on ...
& Find X2 Pro,
Sony Xperia 1 II The Sony Xperia 1 II is an Android smartphone manufactured by Sony Mobile. Part of Sony's Xperia series, the phone was announced along with the mid-range Xperia 10 II on February 24, 2020. Key upgrades over its predecessor, the Xperia 1, incl ...
,
Xiaomi Mi 10 Ultra The Xiaomi Mi 10 Ultra is an Android-based high-end smartphone developed by Xiaomi Inc. announced on 11 August 2020 as a celebration of Xiaomi's 10th anniversary. Unlike the Mi 10 and Mi 10 Pro, Mi 10 Ultra is only available on the Chinese mar ...
, Motorola Edge+, ROG Phone 3 and
Sharp Sharp or SHARP may refer to: Acronyms * SHARP (helmet ratings) (Safety Helmet Assessment and Rating Programme), a British motorcycle helmet safety rating scheme * Self Help Addiction Recovery Program, a charitable organisation founded in 199 ...
Aquos Zero 2.


36-bit

Using 12 bits per color channel produces 36 bits, 68,719,476,736 colors. If an alpha channel of the same size is added then there are 48 bits per pixel.


48-bit

Using 16 bits per color channel produces 48 bits, 281,474,976,710,656 colors. If an alpha channel of the same size is added then there are 64 bits per pixel. Image editing software such as Adobe Photoshop started using 16 bits per channel fairly early in order to reduce the quantization on intermediate results (i.e. if an operation is divided by 4 and then multiplied by 4, it would lose the bottom 2 bits of 8-bit data, but if 16 bits were used it would lose none of the 8-bit data). In addition, digital cameras were able to produce 10 or 12 bits per channel in their raw data; as 16 bits is the smallest addressable unit larger than that, using it would allow the raw data to be manipulated.


Expansions


High dynamic range and wide gamut

Some systems started using those bits for numbers outside the 0–1 range rather than for increasing the resolution. Numbers greater than 1 were for colors brighter than the display could show, as in
high-dynamic-range imaging In photography and videography, multi-exposure HDR capture is a technique that creates extended or high dynamic range (HDR) images by taking and combining multiple exposures of the same subject matter at different exposure levels. Combining m ...
(HDRI). Negative numbers can increase the gamut to cover all possible colors, and for storing the results of filtering operations with negative filter coefficients. The
Pixar Image Computer The Pixar Image Computer is a graphics computer originally developed by the Graphics Group, the computer division of Lucasfilm, which was later renamed Pixar. Aimed at commercial and scientific high-end visualization markets, such as medicine, ...
used 12 bits to store numbers in the range 1.5,2.5), with 2 bits for the integer portion and 10 for the fraction. The Cineon imaging system used 10-bit professional video displays with the video hardware adjusted so that a value of 95 was black and 685 was white. The amplified signal tended to reduce the lifetime of the CRT.


Linear color space and floating point

More bits also encouraged the storage of light as linear values, where the number directly corresponds to the amount of light emitted. Linear levels makes calculation of light (in the context of computer graphics) much easier. However, linear color results in disproportionately more samples near white and fewer near black, so the quality of 16-bit linear is about equal to 12-bit sRGB. Floating point numbers can represent linear light levels spacing the samples semi-logarithmically. Floating point representations also allow for drastically larger dynamic ranges as well as negative values. Most systems first supported 32-bit per channel single-precision, which far exceeded the accuracy required for most applications. In 1999, Industrial Light & Magic released the open standard image file format OpenEXR which supported 16-bit-per-channel half-precision floating-point numbers. At values near 1.0, half precision floating point values have only the precision of an 11-bit integer value, leading some graphics professionals to reject half-precision in situations where the extended dynamic range is not needed.


More than three primaries

Virtually all television displays and computer displays form images by varying the strength of just three primary colors: red, green, and blue. For example, bright yellow is formed by roughly equal red and green contributions, with no blue contribution. For storing and manipulating images, alternative ways of expanding the traditional triangle exist: One can convert image coding to use fictitious primaries, that are not physically possible but that have the effect of extending the triangle to enclose a much larger color gamut. An equivalent, simpler change is to allow negative numbers in color channels, so that the represented colors can extend out of the color triangle formed by the primaries. However these only extend the colors that can be represented in the image encoding; neither trick extends the
gamut In color reproduction, including computer graphics and photography, the gamut, or color gamut , is a certain ''complete subset'' of colors. The most common usage refers to the subset of colors which can be accurately represented in a given circ ...
of colors that can actually be rendered on a display device. Supplementary colors can widen the color gamut of a display, since it is no longer limited to the interior of a triangle formed by three
primaries Primary elections, or direct primary are a voting process by which voters can indicate their preference for their party's candidate, or a candidate in general, in an upcoming general election, local election, or by-election. Depending on the c ...
at its corners, e.g. the CIE 1931 color space. Recent technologies such as
Texas Instruments Texas Instruments Incorporated (TI) is an American technology company headquartered in Dallas, Texas, that designs and manufactures semiconductors and various integrated circuits, which it sells to electronics designers and manufacturers globa ...
's ''BrilliantColor'' augment the typical red, green, and blue channels with up to three other primaries: cyan, magenta, and yellow. Note that cyan would be indicated by negative values in the red channel, magenta by negative values in the green channel, and yellow by negative values in the blue channel, validating the use of otherwise fictitious negative numbers in the color channels. Mitsubishi and
Samsung The Samsung Group (or simply Samsung) ( ko, 삼성 ) is a South Korean multinational manufacturing conglomerate headquartered in Samsung Town, Seoul, South Korea. It comprises numerous affiliated businesses, most of them united under the ...
(among others) use ''BrilliantColor'' in some of their TV sets to extend the range of displayable colors. The
Sharp Aquos The Sharp Aquos is a product brand name for LCD televisions and component screens, originally sold by Sharp Corporation of Japan and also used by licensees. History It encompasses small, portable models (e.g. the 13" B series) up to large hom ...
line of televisions has introduced Quattron technology, which augments the usual RGB pixel components with a yellow subpixel. However, formats and media that allow or make use of the extended color
gamut In color reproduction, including computer graphics and photography, the gamut, or color gamut , is a certain ''complete subset'' of colors. The most common usage refers to the subset of colors which can be accurately represented in a given circ ...
are at present extremely rare. Because humans are overwhelmingly
trichromats Trichromacy or trichromatism is the possessing of three independent channels for conveying color information, derived from the three different types of cone cells in the eye. Organisms with trichromacy are called trichromats. The normal expl ...
or
dichromats Dichromacy (from Greek ''di'', meaning "two" and ''chromo'', meaning "color") is the state of having two types of functioning photoreceptors, called cone cells, in the eyes. Organisms with dichromacy are called dichromats. Dichromats requir ...
one might suppose that adding a fourth "primary" color could provide no practical benefit. However humans can see a broader range of colors than a mixture of three colored lights can display. The deficit of colors is particularly noticeable in saturated shades of bluish green (shown as the left upper grey part of the horseshoe in the diagram) of RGB displays: Most humans can see more vivid blue-greens than any color video screen can display.


See also


Footnotes


References

{{Color topics Television technology