All Topics  
Color depth

 

   Email Print
   Bookmark   Link






 

Color depth



 
 
Color depth or bit depth, is a computer graphics
Computer graphics

Computer graphics are graphics created by computers and, more generally, the representation and manipulation of pictorial data by a computer....
 term describing the number of bit
Bit

A bit is a binary numeral system numerical digit, taking a value of either 0 or 1. Binary digits are a basic unit of information Computer data storage and transmission in digital computing and digital information theory....
s used to represent the color
Color

Color or colour is the visual perception property corresponding in humans to the categories called red, yellow, blue and others....
 of a single pixel
Pixel

In digital imaging, a pixel is the smallest item of information in an image. Pixels are normally arranged in a 2-dimensional grid, and are often represented using dots, squares, or rectangles....
 in a bitmap
Raster graphics

In computer graphics, a raster graphics image or bitmap, is a data structure representing a generally Rectangle grid of pixels, or points of color, viewable via a Computer display, paper, or other display medium....
ped image or video frame buffer. This concept is also known as bits per pixel (bpp), particularly when specified along with the number of bits used. Higher color depth gives a broader range of distinct colors.

relatively low color depth, the stored value is typically a number representing the index into a color map or palette
Palette (computing)

In computer graphics, a palette is either a given, finite set of colors for the management of digital images , or a small on-screen graphical element for choosing from a limited set of choices, not necessarily colors ....
.






Discussion
Ask a question about 'Color depth'
Start a new discussion about 'Color depth'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Color depth or bit depth, is a computer graphics
Computer graphics

Computer graphics are graphics created by computers and, more generally, the representation and manipulation of pictorial data by a computer....
 term describing the number of bit
Bit

A bit is a binary numeral system numerical digit, taking a value of either 0 or 1. Binary digits are a basic unit of information Computer data storage and transmission in digital computing and digital information theory....
s used to represent the color
Color

Color or colour is the visual perception property corresponding in humans to the categories called red, yellow, blue and others....
 of a single pixel
Pixel

In digital imaging, a pixel is the smallest item of information in an image. Pixels are normally arranged in a 2-dimensional grid, and are often represented using dots, squares, or rectangles....
 in a bitmap
Raster graphics

In computer graphics, a raster graphics image or bitmap, is a data structure representing a generally Rectangle grid of pixels, or points of color, viewable via a Computer display, paper, or other display medium....
ped image or video frame buffer. This concept is also known as bits per pixel (bpp), particularly when specified along with the number of bits used. Higher color depth gives a broader range of distinct colors.

Indexed color

With relatively low color depth, the stored value is typically a number representing the index into a color map or palette
Palette (computing)

In computer graphics, a palette is either a given, finite set of colors for the management of digital images , or a small on-screen graphical element for choosing from a limited set of choices, not necessarily colors ....
. The colors available in the palette itself may be fixed by the hardware or modifiable within the limits of the hardware (for instance, both color Macintosh
Macintosh

File:Imac alu.pngMacintosh, commonly shortened to Mac, is a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc....
 systems and VGA
Video Graphics Array

The term Video Graphics Array refers specifically to the display hardware first introduced with the IBM Personal System/2 line of computers in 1987, but through its widespread adoption has also come to mean either an analogue electronics computer display standard, the 15-pin D-subminiature VGA connector or the 640×480 resolution its...
-equipped IBM-PCs typically ran at 8-bit due to limited VRAM
VRAM

VRAM may stand for:* Dynamic random access memory#Video DRAM , a type of computer memory* Veil Rights Assertion Mark, a digital rights management system...
, but 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). Modifiable palettes are sometimes referred to as pseudocolor palettes.

  • 1-bit color (21 = 2 colors) monochrome
    Monochrome

    Monochrome comes from the Greek language ?????????? , meaning ?of one color?, which is a combination of ????? , meaning ?alone? or ?solitary?, and ????a , meaning ?color?....
    , often black and white.
  • 2-bit color (2² = 4 colors) CGA
    Color Graphics Adapter

    The Color Graphics Adapter , originally also called the Color/Graphics Adapter or IBM Color/Graphics Monitor Adapter, introduced in 1981, was International Business Machines's first color graphics card, and the first color computer display standard for the IBM PC....
    , gray-scale early NeXTstation
    NeXTstation

    NeXTstation was a high-end workstation developed, manufactured and sold by NeXT from 1990 until 1993. It ran the NeXTSTEP operating system. The NeXTstation was released as a more affordable alternative to the NeXTcube at about US $4,995 or about half the price....
    , color Macintosh
    Macintosh

    File:Imac alu.pngMacintosh, commonly shortened to Mac, is a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc....
    es.
  • 3-bit color (2³ = 8 colors) many early home computers with TV out displays
  • 4-bit color (24 = 16 colors) as used by EGA
    Enhanced Graphics Adapter

    The Enhanced Graphics Adapter is the IBM PC computer display standard specification located between Color Graphics Adapter and Video Graphics Array in terms of color and space resolution....
     and by the least common denominator VGA standard at higher resolution, color Macintosh
    Macintosh

    File:Imac alu.pngMacintosh, commonly shortened to Mac, is a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc....
    es.
  • 5-bit color (25 = 32 colors) Original Amiga chipset
    Original Amiga chipset

    The Original Chip Set was a chipset used in the earliest Commodore International Amiga computers and defined the Amiga's graphics and sound capabilities....
  • 6-bit color (26 = 64 colors) Original Amiga chipset
    Original Amiga chipset

    The Original Chip Set was a chipset used in the earliest Commodore International Amiga computers and defined the Amiga's graphics and sound capabilities....
  • 8-bit color
    8-bit color

    8-bit color graphics is a method of storing image information in a computer's memory or in an image file, such that each pixel is represented by one 8-bit byte....
     (28 = 256 colors) most early color Unix workstations, VGA at low resolution, Super VGA, AGA
    Advanced Graphics Architecture

    Advanced Graphics Architecture is the third generation Amiga graphic chip set, first used in the Amiga 4000 in 1992. AGA was codenamed the Pandora chipset by Commodore International internally....
    , color Macintosh
    Macintosh

    File:Imac alu.pngMacintosh, commonly shortened to Mac, is a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc....
    es.
  • 12-bit color (212 = 4096 colors) some Silicon Graphics
    Silicon Graphics

    Silicon Graphics, Inc. is a company manufacturer high-performance computing solutions, including computer hardware and computer software. SGI was founded by James H....
     systems, Color NeXTstation
    NeXTstation

    NeXTstation was a high-end workstation developed, manufactured and sold by NeXT from 1990 until 1993. It ran the NeXTSTEP operating system. The NeXTstation was released as a more affordable alternative to the NeXTcube at about US $4,995 or about half the price....
     systems, and Amiga
    Amiga

    The Amiga is a family of personal computers originally developed by Amiga Corporation. Development on the Amiga began in 1982 with Jay Miner as the principal hardware designer....
     systems in HAM mode.


Old graphics chips, particularly those used in home computers and video game consoles, often feature an additional level of palette mapping in order to increase the maximum number of simultaneously displayed colors. For example, in the ZX Spectrum
ZX Spectrum

The Sinclair ZX Spectrum is an 8-bit personal home computer released in the United Kingdom in 1982 by Sinclair Research Ltd. Referred to during development as the ZX81 Colour and ZX82, the machine was launched as the ZX Spectrum by Sinclair to highlight the machine's colour display, compared with the black-and-white of its predec...
, the picture is stored in a two-color format, but these two colors can be separately defined for each rectangular block of 8x8 pixels.

Direct color

As the number of bits increases, the number of possible colors becomes impractically large for a color map. So in higher color depths, the color value typically directly encodes relative brightnesses of red, green, and blue to specify a color in the RGB color model
RGB color model

The RGB color model is an additive color in which red, green, and blue light are added together in various ways to reproduce a broad array of colors....
.

8-bit direct color

A very limited but true direct color system, there are 3 bits (8 possible levels) for both the R and G components, and the two remaining bits in the byte pixel to the B component (four levels), enabling 256 (8 × 8 × 4) different colors. The normal human eye is less sensitive to the blue component than to the red or green, so it is assigned one bit less than the others. Used, amongst others, in the MSX2
MSX2

MSX2 may refer to:* Msh homeobox 2, a human gene* The second generation of the MSX home computers...
 system series of computers in the early to mid 1990s.

Do not confuse with an indexed color depth of 8bpp (although it can be simulated in such systems by selecting the adequate table).

12-bit direct color

In 12-bit direct color, there are 4 bits (16 possible levels) for each of the R, G, and B components, enabling 4,096 (16 × 16 × 16) different colors. This color depth is sometimes used in small devices with a color display, such as mobile telephones.

HighColor

Highcolor or HiColor is considered sufficient to provide life-like colors, and is encoded using either 15 or 16 bits:

  • 15-bit uses 5 bits to represent red, 5 for green, and 5 for blue. Since 25 is 32 there are 32 levels of each color which can therefore be combined to give a total of 32,768 (32 × 32 × 32) mixed colors.


  • Many 16-bit color schemes uses 5 bits to represent red, 5 bits to represent blue, but (since the human eye is more sensitive to the color green) uses 6 bits to represent 64 levels of green, sometimes known as 5650 format. These can therefore be combined to give 65,536 (32 × 64 × 32) mixed colors. Some formats like the Macintosh 16-bit color scheme known as "Thousands of colors" use 5 bits for each of the colors, and then the last bit for a 1-bit alpha value. There is another format that uses 4 bits for all colors and alpha, known as 4444 format.


LCD displays


  • Some cheaper LCD displays use dithered 18-bit color (64 × 64 × 64 = 262,144 combinations) to achieve faster transition times, without sacrificing truecolor display levels entirely.


Truecolor

Truecolor
Truecolor

Truecolor is a method of representing and storing graphical image information in an RGB color space such that a very large number of colors, shades, and hues can be displayed in an image, such as in high quality photographic images or complex graphics....
 can mimic far more of the colors found in the real world, producing over 16.7 million distinct colors. This approaches the level at which megapixel monitors can display distinct colors for most photographic images, though image manipulation, monochromatic images (which are restricted to 256 levels, owing to their single channel), large images or “pure” generated images reveal banding
Posterization

Posterization of an image occurs when a region of an image with a continuous gradation of tone is replaced with several regions of fewer tones, resulting in an abrupt change from one tone to another....
 and dithering artifacts.

  • 24-bit truecolor uses 8 bits to represent red, 8 bits to represent blue and 8 bits to represent green. 28 = 256 levels of each of these three colors can therefore be combined to give a total of 16,777,216 mixed colors (256 × 256 × 256). Twenty-four-bit color is referred to as "millions of colors" on Macintosh systems.

30-bit color

Video cards with 10 bits per color, or 30-bit color, started coming into the market in the late 1990s. An early example was the Radius
Radius (computer)

Radius was a computer hardware firm founded in May 1986 by Burrell Smith, Andy Hertzfeld, Mike Boich, Matt Carter , Alain Rossman and other members of the original Mac team specializing in Apple Macintosh equipment....
 ThunderPower card for the Macintosh, which included extensions for Quickdraw
QuickDraw

QuickDraw is the 2D Computer graphics library and associated Application programming interface which is a core part of the classic Apple Macintosh Mac OS....
 and Photoshop plugins to support editing 30-bit images.

32-bit color

"32-bit color" is generally a misnomer in regard to display color depth. While actual 32-bit color at ten to eleven bits per channel produces over 4.2 billion distinct colors, the term “32-bit color” is most often a misuse referring to 24-bit color images with an additional eight bits of non-color data (I.E.: alpha, Z or bump
Bump mapping

Bump mapping is a computer graphics technique where at each pixel, a perturbation to the surface normal of the object being rendering is looked up in a heightmap and applied before the illumination calculation is done ....
 data), or sometimes even to plain 24-bit data.

Systems using more than 24 bits in a 32-bit pixel for actual color data exist, but most of them opt for a 30-bit implementation with two bits of padding so that they can have an even 10 bits of color for each channel, similar to many HiColor systems.

Beyond truecolor


While some high-end graphics workstation systems and the accessories marketed toward use with such systems, as from SGI
Silicon Graphics

Silicon Graphics, Inc. is a company manufacturer high-performance computing solutions, including computer hardware and computer software. SGI was founded by James H....
, have always used more than 8 bits per channel, such as 12 or 16 (36-bit or 48-bit color), such color depths have only worked their way into the general market more recently.

As bit depths climb above 8 bits per channel, some systems use the extra bits to store more intensity range than can be displayed all at once, as in high dynamic range imaging
High dynamic range imaging

In , computer graphics, and photography, high dynamic range imaging is a set of techniques that allows a greater dynamic range#Photography of luminances between light and dark areas of a scene than normal digital imaging techniques....
 (HDRI). Floating point
Floating point

In computing, floating point describes a system for numerical representation in which a String of digits represents a rational number.The term floating point refers to the fact that the radix point can "float": that is, it can be placed anywhere relative to the Significant figures of the number....
 numbers are used to describe numbers in excess of 'full' white and black. This allows an image to describe accurately the intensity of the sun and deep shadows in the same color space for less distortion after intensive editing. Various models describe these ranges, many employing 32 bit accuracy per channel. A new format is the ILM
Industrial Light and Magic

Industrial Light & Magic is a Film visual effects company that was founded in 1975 in film by George Lucas and is owned by Lucasfilm. Lucas created the company when he discovered that the special effects department at 20th Century Fox was shut down after he was given the green light for his production of Star Wars Episode IV: A New Hope...
 "half"
Half precision

In computing, half precision is a computer numbering format that occupies only half of one storage location in computer memory at some address....
 using 16-bit floating point numbers, it appears this is a much better use of 16 bits than using 16-bit integers and is likely to replace it entirely as hardware becomes fast enough to support it.

The ATI FireGL
ATI FireGL

The ATI FireGL range of video cards are a series fabricated by ATI Technologies for use with CAD and Digital content creation programs, usually found in workstations....
 V7350 graphics card supports 40-bit and 64-bit color.

Television color

Most of today's TVs and computer screens form images by varying the intensity of just three primary colors: red, green, and blue. Bright yellow, for example, is composed of equal parts red and green, with no blue component. However, this is only an approximation, and is not as saturated as actual yellow light. For this reason, recent technologies such as Texas Instruments
Texas Instruments

Texas Instruments , better known in the electronics industry as TI, is an United States company based in Dallas, Texas, Texas, United States, renowned for developing and commercializing semiconductor and computer technology....
's BrilliantColor augment the typical red, green, and blue channels with up to three others: cyan, magenta and yellow. Mitsubishi
Mitsubishi

The , Mitsubishi Group of Companies, or Mitsubishi Companies is a Japanese Conglomerate consisting of a range of autonomous businesses which share the Mitsubishi brand, trademark and legacy....
 and Samsung, among others, use this technology in some TV sets. Assuming that 8 bits are used per color, such six-color images would have a color depth of 48 bits.

See also


  • Bit plane
  • RGB color model
    RGB color model

    The RGB color model is an additive color in which red, green, and blue light are added together in various ways to reproduce a broad array of colors....
  • List of color palettes
  • Mach banding


External links

  • : Reducing color depth related artifacts on mobile devices
  • : Comparison and recommendations