World Library  
Flag as Inappropriate
Email this Article

8-bit Color

Article Id: WHEBN0002130302
Reproduction Date:

Title: 8-bit Color  
Author: World Heritage Encyclopedia
Language: English
Subject: NFlib, List of Sega arcade system boards, Color depth, Pixel artist, GIF
Collection: Color Depths, Television Technology
Publisher: World Heritage Encyclopedia

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. The maximum number of colors that can be displayed at any one time is 256.

There are two forms of 8-bit color graphics. The most common uses a separate palette of 256 colors, where each of the 256 entries in the palette map is given red, green, and blue values. In most color maps, each color is usually chosen from a palette of 16,777,216 colors (24 bits: 8 red, 8 green, 8 blue). But in the original VGA card's 320x200 mode, 256 on-screen colors could be chosen from a palette of 262,144 colors (18 bits: 6 red, 6 green, 6 blue). Some older cards prior to the VGA (like the Professional Graphics Controller) can only choose the 256-color palette from 4,096 colors (12 bits: 4 red, 4 green, 4 blue).

The other form is where the 8 bits directly describe red, green, and blue values, typically with 3 bits for red, 3 bits for green and 2 bits for blue. This second form is often called 8-bit truecolor, as it does not use a palette at all, and is thus more similar to the 15-bit, 16-bit, and 24-bit truecolor modes.

Bit    7  6  5  4  3  2  1  0
Data   R  R  R  G  G  G  B  B
8-bit color, with 3 bits of red, 3 bits of green, and 2 bits of blue.

Most 8-bit image formats store a local image palette of 256 colors in addition to the raw image data. If such an image is to be displayed on 8-bit graphics hardware, the graphics hardware's global palette will be overwritten with the local image palette. This can result in other images on the screen having wildly distorted colors due to differences in their palettes.

For this reason, on 8-bit graphics hardware, programs such as web browsers must address this issue when simultaneously displaying multiple images from different sources. Each image may have its own palette, but the colors in each image will be remapped to a single palette, probably using some form of dithering.

Currently, most graphics hardware runs in 24-bit truecolor or 32-bit truecolor (24-bit truecolor and an 8-bit alpha channel), and this problem is largely a thing of the past. However, some remote desktop software (Virtual Network Computing, Remote Desktop Protocol) can switch to 8-bit color to conserve bandwidth.

See also

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.