List of software palettes#Adaptive palettes
{{short description|none}}
This is a list of software palettes used by computers. Systems that use a 4-bit or 8-bit pixel depth can display up to 16 or 256 colors simultaneously. Many personal computers in the early 1990s displayed at most 256 different colors, freely selected by software (either by the user or by a program) from their wider hardware's RGB color palette.
Usual selections of colors in limited subsets (generally 16 or 256) of the full palette includes some RGB level arrangements commonly used with the 8-bit palettes as master palettes or universal palettes (i.e., palettes for multipurpose uses).
These are some representative software palettes, but any selection can be made in such of systems.
For specific hardware color palettes, see the list of monochrome and RGB palettes, list of 8-bit computer hardware graphics, the list of 16-bit computer hardware graphics and the list of video game console palettes articles.
Each palette is represented by an array of color patches. A one-pixel size version appears below each palette, to make it easy to compare palette sizes.
For each unique palette, an image color test chart and sample image (truecolor original follows) rendered with that palette (without dithering) are given. The test chart shows the full 8-bit, 256 levels of the red, green, and blue (RGB) primary colors and cyan, magenta, and yellow complementary colors, along with a full 8-bit, 256 levels grayscale. Gradients of RGB intermediate colors (orange, lime green, sea green, sky blue, violet and fuchsia), and a full hue spectrum are also present. Color charts are not gamma corrected.
:
style="border-style: none" border="0" cellpadding="0" | |
| Image:RGB 24bits palette sample image.jpg | Image:RGB 24bits palette color test chart.png |
These elements illustrate the color depth and distribution of the colors of any given palette, and the sample image indicates how the color selection of such palettes could represent real-life images.
System specifics
These are selections of colors officially employed as system palettes in some popular operating systems for personal computers that support 8-bit displays.
=Microsoft Windows and IBM OS/2 default 16-color palette=
:
| Image:Windows 16colors palette sample image.png | Image:Windows 16colors palette color test chart.png |
Used by these platforms as a roughly backward compatible palette for the CGA, EGA and VGA text modes, but with colors arranged in a different order. Also, is the default palette for 16 color icons.
:Image:Windows 16colors palette.png
The corresponding indices into this palette are:
:
class="wikitable" style="border-style: none" border="1" cellpadding="5" |
style="color:white;"
| style="background:black;"| 0 — black | style="background:gray;"| 8 — gray |
style="color:white;"
| style="background:maroon;"| 1 — maroon | style="background:red;"| 9 — red |
style="color:white;"
| style="background:green;"| 2 — green | style="background:lime;"| 10 — lime |
style="color:white; background:olive;"| 3 — olive
| style="color:black; background:yellow;"| 11 — yellow |
style="color:white;"
| style="background:navy;"| 4 — navy | style="background:blue;"| 12 — blue |
style="color:white;"
| style="background:purple;"| 5 — purple | style="background:fuchsia;"| 13 — fuchsia |
style="color:white; background:teal;"| 6 — teal
| style="color:black; background:aqua;"| 14 — aqua |
style="color:black;"
| style="background:silver;"| 7 — silver | style="background:white;"| 15 — white |
=Microsoft Windows default 20-color palette=
:
| Image:Windows 20colors palette sample image.png | Image:Windows 20colors palette color test chart.png |
In 256-color mode, there are four additional standard Windows colors, twenty system reserved colors in total;[https://web.archive.org/web/*/http://download.microsoft.com/download/platformsdk/sample43/1/W95/EN-US/Palman.exe The Palette Manager: How and Why It Does What It Does], the article is in Windows Write file inside self-extracting archive.{{Cite web|url=https://docs.microsoft.com/en-us/windows/desktop/opengl/palettes-and-the-palette-manager|title = Palettes and the Palette Manager - Win32 apps| date=23 August 2019 }} thus the system leaves 236 palette indexes free for applications to use. The system color entries inside a 256-color palette table are the first ten plus the last ten. In any case, the additional system colors do not seem to add a sharp color richness: they are only some intermediate shades of grayish colors.
Since Windows 95, these additional colors can be changed by the system when a color scheme needs custom colors,{{Cite web|url=https://www.compuphase.com/palette.htm|title=The Microsoft Windows Palette Manager}} reducing their utility as static, unchanging palette entries.
:Image:Windows 20colors palette.png
The complete 20-color Windows system palette is:
:
class="wikitable" style="border-style: none" border="1" cellpadding="5" |
style="color:white; background:#000;"| 0 — black
| style="color:black; background:#fffbf0;"| 246 — cream |
style="color:white; background:maroon;"| 1 — dark red
| style="color:black; background:#a0a0a4;"| 247 — medium grey |
style="color:white;"
| style="background:green;"| 2 — dark green | style="background:gray;"| 248 — dark grey |
style="color:white;"
| style="background:olive;"| 3 — dark yellow | style="background:#f00;"| 249 — red |
style="color:white;"
| style="background:navy;"| 4 — dark blue | style="background:#0f0;"| 250 — green |
style="color:white; background:purple;"| 5 — dark magenta
| style="color:black; background:#ff0;"| 251 — yellow |
style="color:white;"
| style="background:teal;"| 6 — dark cyan | style="background:#00f;"| 252 — blue |
style="color:black; background:silver;"| 7 — light grey
| style="color:white; background:#f0f;"| 253 — magenta |
style="color:black;"
| style="background:#c0dcc0;"| 8 — money green | style="background:#0ff;"| 254 — cyan |
style="color:black;"
| style="background:#a6caf0;"| 9 — sky blue | style="background:#fff;"| 255 — white |
=Apple Macintosh default 16-color palette=
:
| Image:Mac 16colors palette sample image.png | Image:Mac 16colors palette color test chart.png |
When Apple Computer introduced the Macintosh II in 1987, this 16-color palette was included in System 4.1.
:Image:Mac 16colors palette.svg
:
class="wikitable" style="border-style: none" border="1" cellpadding="5" |
style="color:black; background:#FFF;"| 0 — white
| style="color:white; background:#20B814;"| 8 — green |
style="color:black; background:#FCF404;"| 1 — yellow
| style="color:white; background:#006410;"| 9 — dark green |
style="color:black; background:#FF6404;"| 2 — orange
| style="color:white; background:#582C04;"| 10 — brown |
style="color:white;"
| style="background:#DC0808;"| 3 — red | style="background:#907038;"| 11 — tan |
style="color:white; background:#F00884;"| 4 — magenta
| style="color:black; background:#C0C0C0;"| 12 — light grey |
style="color:white;"
| style="background:#4800A4;"| 5 — purple | style="background:gray;"| 13 — medium grey |
style="color:white;"
| style="background:#0000D4;"| 6 — blue | style="background:#404040;"| 14 — dark grey |
style="color:black; background:#00ACE8;"| 7 — cyan
| style="color:white; background:#000;"| 15 — black |
=RISC OS default palette=
:
| Image:RiscOS 16colors palette sample image.png | Image:RiscOS 16colors palette color test chart.png |
Acorn RISC OS 2.x and 3.x provided this 16-color palette:[http://www.houseofmabel.com/puters/RISCOS2/ House of Mabel: RISC OS 2]
:Image:RiscOS 16colors palette.svg
:
class="wikitable" style="border-style: none" border="1" cellpadding="5" |
style="color:black; background:#fff;"| 0 — white
| style="color:white; background:#049;"| 8 — dark blue |
style="color:black;"
| style="background:#ddd;"| 1 — grey #1 | style="background:#ee0;"| 9 — yellow |
style="color:black; background:#bbb;"| 2 — grey #2
| style="color:white; background:#0c0;"| 10 — green |
style="color:black; background:#999;"| 3 — grey #3
| style="color:white; background:#d00;"| 11 — red |
style="color:white; background:#777;"| 4 — grey #4
| style="color:black; background:#eeb;"| 12 — beige |
style="color:white;"
| style="background:#555;"| 5 — grey #5 | style="background:#558800;"| 13 — dark green |
style="color:white; background:#333;"| 6 — grey #6
| style="color:black; background:#fb0;"| 14 — gold/orange |
style="color:white; background:#000;"| 7 — black
| style="color:black; background:#0bf;"| 15 — light blue |
=Solaris default 16-color palette=
{{Expand section|1=the sample image and the test chart|date=May 2025}}
:
class="wikitable" style="border-style: none" border="1" cellpadding="5" |
style="color:white; background:#000000;"| 0 — black
| style="color:white; background:#9F9F9F;"| 8 — dark gray |
style="color:white; background:#FF0000;"| 1 — red
| style="color:black; background:#FF7F7F;"| 9 — pink |
style="color:white; background:#00FF00;"| 2 — green
| style="color:black; background:#7FFF7F;"| 10 — pale green |
style="color:white; background:#BF7F00;"| 3 — brown
| style="color:black; background:#FFFF00;"| 11 — yellow |
style="color:white; background:#0000FF;"| 4 — blue
| style="color:black; background:#7F7FFF;"| 12 — slate blue |
style="color:white; background:#FF00FF;"| 5 — magenta
| style="color:black; background:#FF7FFF;"| 13 — orchid |
style="color:black; background:#00FFFF;"| 6 — cyan
| style="color:black; background:#7FFFFF;"| 14 — aquamarine |
style="color:black; background:#CFCFCF;"| 7 — gray
| style="color:black; background:#FFFFFF;"| 15 — white |
RGB arrangements
{{Unreferenced section|date=March 2008}}
These are selections of colors based in evenly ordered RGB levels which provide complete RGB combinations, mainly used as master palettes to display any kind of image within the limitations of the 8-bit pixel depth.
=6 level RGB=
:
style="border-style: none" border="0" cellpadding="0" | |
| Image:RGB 6levels palette sample image.png | Image:RGB 6levels palette color test chart.png |
:
class="wikitable" style="text-align: center;" |
style="width: 3pc;" | Red
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#300; width:5pc;"| #330000 | style="color:white; background:#600; width:5pc;"| #660000 | style="color:white; background:#900; width:5pc;"| #990000 | style="color:white; background:#c00; width:5pc;"| #CC0000 | style="color:white; background:#f00; width:5pc;"| #FF0000 |
---|
style="width: 3pc;" | Green
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#030; width:5pc;"| #003300 | style="color:white; background:#060; width:5pc;"| #006600 | style="color:white; background:#090; width:5pc;"| #009900 | style="color:white; background:#0c0; width:5pc;"| #00CC00 | style="color:white; background:#0f0; width:5pc;"| #00FF00 |
style="width: 3pc;" | Blue
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#003; width:5pc;"| #000033 | style="color:white; background:#006; width:5pc;"| #000066 | style="color:white; background:#009; width:5pc;"| #000099 | style="color:white; background:#00c; width:5pc;"| #0000CC | style="color:white; background:#00f; width:5pc;"| #0000FF |
Having six levels for every primary, with 6³ = 216 combinations. The index can be addressed by (36×R)+(6×G)+B, with all R, G and B values in a range from 0 to 5. Intended as homogeneous RGB cube, it gives six true grays. Also, there is room for another sorts of 40 colors, so operating systems or programs can add extra colors.
:Image:RGB 6levels palette.png
Systems that use this software palette are:
- Web-safe colors
- Apple Macintosh 256 color default palette. It also contains four gradients of ten shades each for gray, red, green and blue.
=6-7-6 levels RGB=
:
style="border-style: none" border="0" cellpadding="0" | |
| Image:RGB 6-7-6-levels palette sample image.png | Image:RGB 6-7-6-levels palette color test chart.png |
:
class="wikitable" style="text-align: center;" |
style="width: 3pc;" | Red
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#300; width:5pc;"| #330000 | style="color:white; background:#600; width:5pc;"| #660000 | style="color:white; background:#900; width:5pc;"| #990000 | style="color:white; background:#c00; width:5pc;"| #CC0000 | style="color:white; background:#f00; width:5pc;" colspan="2"| #FF0000 |
---|
style="width: 3pc;" | Green
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#002a00; width:5pc;"| #002A00 | style="color:white; background:#050; width:5pc;"| #005500 | style="color:white; background:green; width:5pc;"| #008000 | style="color:white; background:#0a0; width:5pc;"| #00AA00 | style="color:white; background:#00d400; width:5pc;"| #00D400 | style="color:white; background:#0f0; width:5pc;"| #00FF00 |
style="width: 3pc;" | Blue
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#003; width:5pc;"| #000033 | style="color:white; background:#006; width:5pc;"| #000066 | style="color:white; background:#009; width:5pc;"| #000099 | style="color:white; background:#00c; width:5pc;"| #0000CC | style="color:white; background:#00f; width:5pc;" colspan="2"| #0000FF |
This palette is constructed with six levels for red and blue primaries and seven levels for the green primary, giving 6×7×6 = 252 combinations. The index can be addressed by (42×R)+(6×G)+B, with R and B values in a range from 0 to 5 and G in a range from 0 to 6. The same case as the former, but with an added level of green due to the greater sensibility of the normal human eye to this frequency.
:Image:RGB 6-7-6levels palette.png
It does not provide true grays, but remaining indexes can be filled with four intermediate grays. In any case, there is little room for any other color.
=6-8-5 levels RGB=
:
style="border-style: none" border="0" cellpadding="0" | |
| Image:RGB 6-8-5levels palette sample image.png | Image:RGB 6-8-5levels palette color test chart.png |
:
class="wikitable" style="text-align: center;" |
style="width: 3pc;" | Red
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#300; width:5pc;"| #330000 | style="color:white; background:#600; width:5pc;" colspan="2"| #660000 | style="color:white; background:#900; width:5pc;"| #990000 | style="color:white; background:#c00; width:5pc;"| #CC0000 | style="color:white; background:#f00; width:5pc;" colspan="2"| #FF0000 |
---|
style="width: 3pc;" | Green
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#002400; width:5pc;"| #002400 | style="color:white; background:#004900; width:5pc;"| #004900 | style="color:white; background:#006d00; width:5pc;"| #006D00 | style="color:white; background:#009200; width:5pc;"| #009200 | style="color:white; background:#00b600; width:5pc;"| #00B600 | style="color:white; background:#00db00; width:5pc;"| #00DB00 | style="color:white; background:#0f0; width:5pc;"| #00FF00 |
style="width: 3pc;" | Blue
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#000040; width:5pc;"| #000040 | style="color:white; background:navy; width:5pc;" colspan="2"| #000080 | style="color:white; background:#0000bf; width:5pc;" colspan="2"| #0000BF | style="color:white; background:#00f; width:5pc;" colspan="2"| #0000FF |
This palette is constructed with six levels for red, eight levels for green and five levels for the blue primaries, giving 6×8×5 = 240 combinations. The index can be addressed by (40×R)+(5×G)+B, with R ranging from 0 to 5, G from 0 to 7 and B from 0 to 4. Levels are chosen in function of sensibility of the normal human eye to every primary color.
:Image:RGB 6-8-5levels palette.png
Also, it does not provide true grays. Remaining indexes can be filled with sixteen intermediate grays or other fixed colors. In fact, this is the best balanced RGB master software palette{{Citation needed|date=April 2009}}, in a compromise between the RGB arrangement based in the human eye's sensibility and a sufficient remaining palette entries for another purposes.
=8-8-4 levels RGB=
:
style="border-style: none" border="0" cellpadding="0" | |
| Image:RGB 8-8-4-levels palette sample image.png | Image:RGB 8-8-4-levels palette color test chart.png |
:
class="wikitable" style="text-align: center;" |
style="width: 3pc;" | Red
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#240000; width:5pc;"| #240000 | style="color:white; background:#490000; width:5pc;"| #490000 | style="color:white; background:#6d0000; width:5pc;"| #6D0000 | style="color:white; background:#920000; width:5pc;"| #920000 | style="color:white; background:#b60000; width:5pc;"| #B60000 | style="color:white; background:#db0000; width:5pc;"| #DB0000 | style="color:white; background:#f00; width:5pc;"| #FF0000 |
---|
style="width: 3pc;" | Green
| style="color:white; background:#000; width:5pc;"| #000000 | style="color:white; background:#002400; width:5pc;"| #002400 | style="color:white; background:#004900; width:5pc;"| #004900 | style="color:white; background:#006d00; width:5pc;"| #006D00 | style="color:white; background:#009200; width:5pc;"| #009200 | style="color:white; background:#00b600; width:5pc;"| #00B600 | style="color:white; background:#00db00; width:5pc;"| #00DB00 | style="color:white; background:#0f0; width:5pc;"| #00FF00 |
style="width: 3pc;" | Blue
| style="color:white; background:#000; width:5pc;" colspan="2"| #000000 | style="color:white; background:#005; width:5pc;" colspan="2"| #000055 | style="color:white; background:#00a; width:5pc;" colspan="2"| #0000AA | style="color:white; background:#00f; width:5pc;" colspan="2"| #0000FF |
The 8-8-4 level RGB use eight levels for each of the red and green color components (3+3 high order bits), and four levels (2 low order bits) for the blue component, due to the lesser sensitivity of the normal human eye to this primary color. This results in an 8×8×4 = 256-color palette as follows:
:Image:RGB 8-8-4-levels palette.png
This RGB software palette occupies the full 8-bit range of possible palette entries, so there is no room for other fixed colors. Software using this palette must draw their user interface elements with the same colors used to show pictures. Also again, it does not provide true grays.
Other common uses of software palettes
=Grayscale palettes=
:
style="border-style: none" border="0" cellpadding="0" | |
| Image:Grayscale 8bits palette sample image.png | Image:Grayscale 8bits palette color test chart.png |
:
class="wikitable" style="text-align: center;"
|+ All 256 colors in grayscale palette |
style="width: 3pc;" | Dark
| style="color: white; background-color: black; background-image: linear-gradient(to right, black, white); width: 256px;" | | style="width: 3pc;" | Bright |
Simple palette made doing every triplet RGB primaries having equal values as a continuous gradient from black to white through the full available palette entries. Here is the 8-bit, 256 levels palette:
:Image:Grayscale 8bits palette.png
Used to display pure grayscale TIFF or JPEG images, for example.
=Color gradient palettes=
Palettes made of a continuous color gradient from darkest to lightest arbitrary hues. The pixel data is treated as if it were grayscale, but the color table plays with RGB color combinations, not only gray. The relationship between the original luminance and the mapped one can vary, but the lighting scale is preserved along all the palette entries.
One very common case of such palettes is the sepia tone palette, which gives an image an old fashioned and aged look (left). Another gradient example, based on blue hues, is presented here (right), but any hue or mixing of hues can be used. Many cell phones with built-in cameras have options to take colorized photos using this technique.
:
style="border-style: none" border="0" cellpadding="0" | ||
| Image:Color gradient map (sepia) palette sample image.png | Image:Color gradient map (blue) palette sample image.png | |
| Image:Color gradient map (sepia) palette.png | Image:Color gradient map (blue) palette.png |
:
class="wikitable" style="text-align: center;"
|+ All 256 colors in color gradient palettes (example) |
style="width: 3pc;" | Yellow
| style="width: 3pc;" | Dark | style="color: white; background-color: black; background-image: linear-gradient(to right, black, yellow); width: 256px;" | | style="width: 3pc;" | Bright |
---|
style="width: 3pc;" | Red
| style="width: 3pc;" | Dark | style="color: white; background-color: black; background-image: linear-gradient(to right, black, red); width: 256px;" | | style="width: 3pc;" | Bright |
style="width: 3pc;" | Blue
| style="width: 3pc;" | Dark | style="color: white; background-color: black; background-image: linear-gradient(to right, black, blue); width: 256px;" | | style="width: 3pc;" | Bright |
style="width: 3pc;" | Green
| style="width: 3pc;" | Dark | style="color: white; background-color: black; background-image: linear-gradient(to right, black, lime); width: 256px;" | | style="width: 3pc;" | Bright |
style="width: 3pc;" | Fuchsia
| style="width: 3pc;" | Dark | style="color: white; background-color: black; background-image: linear-gradient(to right, black, fuchsia); width: 256px;" | | style="width: 3pc;" | Bright |
=Adaptive palettes=
:
style="border-style: none" border="0" cellpadding="0" | |
| Image:Adaptative 8bits palette sample image.png | Image:Adaptative 8bits palette color test chart.png |
Those whose whole number of available indexes are filled with RGB combinations selected from the statistical order of appearance (usually balanced) of a concrete full true color original image. There exist many algorithms to pick the colors through color quantization; one well known is the Heckbert's median-cut algorithm. Here is the 8-bit, 256 color palette used with the color test chart and the image sample above:
:Image:Adaptative 8bits palette.png
Adaptive palettes only work well with a unique image. Trying to display different images with adaptive palettes over an 8-bit display usually results in only one image with correct colors, because the images have different palettes and only one can be displayed at a time. Here is an example of what happens when an indexed color image is displayed with any color palette that is not its own adaptive palette:
=False color palettes=
:
style="border-style: none" border="0" cellpadding="0" | |
| Image:False colors palette sample image.png | Image:False colors palette color test chart.png |
:
class="wikitable" style="text-align: center;"
|+ False color palette map |
style="width: 3pc;" | Dark
| style="color: white; background-color: black; background-image: linear-gradient(to right, magenta, blue, cyan, lime, yellow, red); width: 256px;" | | style="width: 3pc;" | Bright |
:
class="wikitable" style="text-align: center;"
|+ False color palette comparison |
style="width: 18pc;" colspan="2" | Dark |
style="color:white; background:#000; width:9pc;"| {{colored link|white|black|#000000}}
| style="color:white; background:#f0f; width:9pc;"| {{colored link|white|magenta}} |
style="color:white; background:#333;"| {{colored link|white|grayscale|#333333}}
| style="color:white; background:#00f;"| {{colored link|white|blue}} |
style="color:white; background:#666;"| {{colored link|white|grayscale|#666666}}
| style="color:black; background:#0ff;"| {{colored link|black|cyan}} |
style="color:black; background:#999;"| {{colored link|black|grayscale|#999999}}
| style="color:white; background:#0f0;"| {{colored link|white|green}} |
style="color:black; background:#ccc;"| {{colored link|black|grayscale|#CCCCCC}}
| style="color:black; background:#ff0;"| {{colored link|black|yellow}} |
style="color:black; background:#fff;"| {{colored link|black|white|#FFFFFF}}
| style="color:white; background:#f00;"| {{colored link|white|red}} |
colspan="2" | Bright |
Arbitrary gradient color scales, usually 256 shades, with no relationship with real colors of a given image. They are employed to artificially colorize a grayscale image to reveal details and/or to map the pixel level values to amounts of some physical magnitude (potential, temperature, altitude, etc.)
Note, in the example above, that new details can be seen as blue over magenta in the background's dark areas of the original photograph.
Here is the 8-bit, 256 color gradient palette used with the color test chart and the image sample above:
:Image:False colors palette.png
There exist many false color palettes, some of them standardized, used mainly in scientific applications: astronomy and radioastronomy, satellite land imaging, thermography, study of materials, tomography and magnetic resonance imaging in medicine, etc.
See also
Notes
{{Reflist}}
{{DEFAULTSORT:Software palettes}}