Everything about Highcolor totally explained
Highcolor graphics (variously spelled
Hicolor,
Hicolour, and
Highcolour, and known as
Thousands of colors on a
Macintosh) is a method of storing image information in a
computer's memory such that each
pixel is represented by two
bytes. Usually the
color is represented by all 16
bits, but some
video chipsets also support 15 bit highcolor.
15-bit highcolor
In 15 bit highcolor, one of the bits of the two bytes is ignored, and the remaining 15 bits are split between the
red,
green, and
blue components of the final color, like this:
| Bit | 15 |
14 |
13 |
12 |
11 |
10 |
09 |
08 |
07 |
06 |
05 |
04 |
03 |
02 |
01
|
| Data | R |
R |
R |
R |
R |
G |
G |
G |
G |
G |
B |
B |
B |
B |
B
|
Each of the RGB components has 5 bits associated, giving 2^5 = 32 intensities of each component. This allows 32,768 possible colours for each pixel.
The popular
Cirrus Logic graphics chips of the early 1990s made use of the spare high-order bit for their so-called "mixed" video modes: with bit 15 clear, bits 0 through 14 would be treated as an RGB value as described above, while with bit 15 set, bit 0 through 7 would be interpreted as an index into a 256-color palette (bits 8 through 14 remaining unused.) This would have enabled display of (comparatively) high-quality color images side by side with
palette-animated screen elements, but in practice, this feature was hardly used by any software.
16-bit highcolor
When all 16 bits are used, one of the components (usually green, see below) gets an extra bit, allowing 64 levels of intensity for that component, and a total of 65,536 available colors. This can lead to small discrepancies in encoding, for example when one wishes to encode the 24-bit color
RGB (40, 40, 40) with 16 bits (a problem common to
subsampling). Forty in
binary is 00101000. The red and blue channels will take the five most significant bits, and will have a value of 00101, or 5 on a scale from 0 to 31 (16.1%). The green channel, with six bits of precision, will have a binary value of 001010, or 10 on a scale from 0 to 63 (15.9%). Because of this, the color RGB (40, 40, 40) will have a slight green tinge when displayed in 16 bits. Note that 40 on a scale from 0 to 255 is 15.7%.
Green is usually chosen for the extra bit in 16 bits because the human eye has its highest sensitivity for green shades. For a demonstration, look closely at the following picture (note: this will work only on monitors displaying
truecolor, for example, 24 or 32 bits) where dark shades of red, green and blue are shown using 128 levels of intensities for each component (7 bits). Readers with normal vision should see the individual shades of green relatively easily, while the shades of red should be difficult to see, and the shades of blue are likely indistinguishable. More rarely, some systems support having the extra bit of color depth on the red or blue channel, usually in applications where that color is more prevalent (photographing of skin tones or skies, for example).
In general, an RGB representation needs 1 bit more for red than blue and 1 more bit for green.
Other notes
Unlike
planar or
chunky (packed pixel) graphics, there's generally no need for a
color look up table (CLUT, or palette) when in Highcolor mode, because there are enough available colors per pixel to represent graphics and photos reasonably satisfactorily, although the lack of precision has an impact on image fidelity. As a result, some image formats (for example,
TIF) can save paletted 16-bit images with an embedded CLUT.
Further Information
Get more info on 'Highcolor'.
|
External Link Exchanges
Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:
<a href="http://highcolor.totallyexplained.com">Highcolor Totally Explained</a>
Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned. |