Posted by pork (22.214.171.124) on May 19, 2002 at 17:34:44:
In Reply to: technical info posted by diarm (126.96.36.199) on May 02, 2002 at 13:26:29:
Interesting... so HTML uses 729 colors, with R-G-B variables ranging from 0 to 8 (or 00 to FF, respectively), which is basically a 9-variable range. That's unconventional, since the variable range of a video color palette is usually a power of 2, making the composite palette resolution a power of 2 as well as a perfect cube:
8 colors (CGA?) - 2^3
64 colors (EGA) - 2^6, 4^3
512 colors (Atari ST, Sega Genesis) - 2^9, 8^3
4096 colors (Commodore Amiga) - 2^12, 16^3
32768 colors (Super Nintendo) - 2^15, 32^3
262144 colors (8-bit VGA) - 2^18, 64^3
16777216 colors (32-bit VGA) - 2^24, 256^3
The Nintendo Entertainment System (c. 1985) used a pared-down version of the EGA palette, with 52 colors instead of 64. Incidentally, it's erstwhile competitor, the Sega Master System, used the entire 64. So the SMS had better graphics, though its game selection was not up to par.
You might have heard of 16-color (EGA), 256-color (VGA), and 65536 color (XGA?) graphics. In most cases, these figures referred to the number of colors that could be displayed on the screen at one time, due to video memory limitations.
Some early computer systems (e.g., Commodore 64, Apple IIe) *did* use a 16-color array. As a result, EGA-based games and applications in the 80s usually used only *those* 16 colors, to maintain a consistent appearance across platform conversions.
Post a Followup