Utilisateur:As de carreau/Brouillon/palettes RVB
La palette RVB est l'ensemble des couleurs qui peuvent être affichées sur un système donné (en même temps ou pas) et qui est dénifi par un niveau de rouge, vert et bleu.
palettes RVB au sens strict
modifierCes palettes sont définies en prenant un nombre de niveaux donnés (en principe une puissance de deux) pour décrire la quantité de rouge, de vert et de bleu servant a définir une couleur.
un niveau
modifier3-bit RGB dithering:
Systems with a 3-bit RGB palette use 1 bit for each of the red, green and blue color components. That is, each component is either "on" or "off" with no intermediate states. This results in an 8-color palette ((21)3 = 23 = 8) that have black, white, the three RGB primary colors red, blue and green and their correspondent complementary colors cyan, magenta and yellow as follows:
The color indices vary between implementations; therefore, index numbers are not given.
The 3-bit RGB palette is used by:
- The ECMA-48 standard for text terminals (sometimes known as the "ANSI standard", although ANSI X3.64 does not define colors)
- Teletext standards since 1976
- Videotex
- TRS-80 Color Computer (in graphics mode, only 4 colors can be displayed simultaneously from fixed 4-colors palettes)
- Oric
- BBC Micro
- The original NEC PC8801 up to the MkII
- The original NEC PC9801 with original 8086 CPU before the VM/VX models
- All Sharp X1 models before the X1 Turbo Z
- The Sharp MZ 700
- Fujitsu FM-7, FM New 7, FM 77 before the FM77AV
- Sinclair QL
- The Macintosh SE with a color printer or external monitor
- The SECAM version of the Atari 2600
quatre niveaux
modifierSystems with a 6-bit RGB palette use 2 bits for each of the red, green, and blue color components. This results in a (22)3 = 43 = 64-color palette as follows:
6-bit RGB systems include the following:
- Enhanced Graphics Adapter (EGA) for IBM PC/AT (only 16 colors can be displayed simultaneously)
- Sega Master System videogame console
- GIME for TRS-80 Color Computer 3 (only 16 colors can be displayed simultaneously)
- Pebble Time smartwatch which has a 6-bit (64 color) e-paper display
huit niveaux
modifierSystems with a 9-bit RGB palette use 3 bits for each of the red, green, and blue color components. This results in a (23)3 = 83 = 512-color palette as follows:
9-bit RGB systems include the following:
- Atari ST (Normally 4 to 16 at once without tricks)
- MSX2 computers (up to 256 at once)
- Sega Genesis videogame console
- Sega Nomad
- TurboGrafx-16 (NEC PC-Engine)
- The NEC PC8801 Mk II SR and later models (8 of them at once)
- The Mindset computer
seize niveaux
modifierSystems with a 12-bit RGB palette use 4 bits for each of the red, green, and blue color components. This results in a (24)3 = 163 = 4096-color palette as follows:
12-bit RGB systems include the following:
- Amiga OCS/ECS (32, 64, or 4,096 colors)
- Apple IIgs Video Graphics Chip (3,200 colors)
- Atari STe (16 colors)
- Acorn Archimedes
- Sega Game Gear (32 colors)
- Neo Geo Pocket Color (147 colors)
- Atari Lynx (16 colors)
- NEC PC-9801 VM/VX models typically equipped with a NEC V30 or better, but before the PC9821 Series.
- The Sharp X1 Turbo Z Series
- Fujitsu FM-77AV
- The Amstrad CPC 664Plus, 6128Plus and GX4000 (32 colors)
- NeXTstation Color and NeXTstation Turbo Color
- WonderSwan Color
32 niveaux
modifierSystems with a 15-bit RGB palette use 5 bits for each of the red, green, and blue color components. This results in a (25)3 = 323 = 32,768-color palette (commonly known as Highcolor) as follows:
15-bit systems include:
- Super Nintendo Entertainment System
- Truevision TARGA and AT-Vista graphic cards for IBM PC-AT and compatibles, and NU-Vista for Apple Macintosh
- Later models of Super VGA (SVGA) IBM PC compatible graphic cards
- Nintendo Game Boy Color/Advance/SP/Micro pocket videoconsoles
- Nintendo DS (2D output)
- Neo Geo AES/Neo Geo CD videogame consoles (4096 colors)
- The Sega 32X Addon for the Mega Drive/Genesis
- Sega Saturn (2D output)
64 niveaux
modifierSystems with an 18-bit RGB palette use 6 bits for each of the red, green, and blue color components. This results in a (26)3 = 643 = 262,144-color palette as follows:
18-bit RGB systems include the following:
- Video Graphics Array (VGA) for IBM PS/2 and IBM PC compatibles (256 simultaneous colors from a palette of 262,144)
- Atari Falcon (256 colors)
- Nintendo DS (3D output and 2D blended output)
- Used internally by many LCD monitors
24-bit RGB
modifierOften known as truecolor and millions of colors, 24-bit color is the highest color depth normally used, and is available on most modern display systems and software. Its color palette contains (28)3 = 2563 = 16,777,216 colors. This is approximately the number of individual colors the human eye can distinguish within the limited gamut of a typical display[réf. nécessaire].
The complete palette needs a squared image of 4,096 pixels wide (50MB in memory), and there is not enough room in this page to show it at full. An image of the full palette can be found here.
This can be imagined as 256 stacked squares like the following, every one of them having the same given value for the red component, from 0 to 255.
The color transitions in these patches must be seen as continuous. If you see color stepping (banding) inside, then probably your display is using a Highcolor (15- or 16- bits RGB, 32,768 or 65,536 colors) mode or lesser.
This is also the number of colors used in true color image files, like Truevision TGA, TIFF, JPEG (the last internally encoded as YCbCr) and Windows Bitmap, captured with scanners and digital cameras, as well as those created with 3D computer graphics software.
24-bit RGB systems include:
- Amiga Advanced Graphics Architecture (256 or 262144 colors)
- Nintendo 3DS
- PlayStation Vita
- Later models of Super VGA (SVGA) IBM PC compatible graphic cards
- Truevision AT-Vista graphic cards for IBM PC-AT and compatibles, and NU-Vista for Apple Macintosh.
- The Philips CD-i
30-bit RGB
modifier(No simulation available) |
Some newer graphics cards support 30-bit RGB and higher. Its color palette contains (210)3 = 10243 = 1,073,741,824 colors. However, there are few operating systems or applications that support this mode yet. For some people, it may be hard to distinguish between higher color palettes than 24-bit color offers. However, the range of luminance, or gray scale, offered in a 30-bit color system would have 1,024 levels of luminance rather than the 256 of the common standard 24-bit, to which the human eye is more sensitive than to hue.
Non-regular RGB palettes
modifierThese also are full RGB palette repertories, but either they do not have the same number of levels for every red, green and blue components, or they are bit levels based. Nevertheless, all of them are used in very popular personal computers.
For further details on color palettes for these systems, see the article List of 8-bit computer hardware palettes.
4-bit RGBI
modifierThe 4-bit RGBI palette is similar to the 3-bit RGB palette but adds one bit for intensity. This results in each of the colors of the 3-bit palette to have a dark and bright variant giving a total of 23×2 = 16 colors.
This 4-bits RGBI schema is used in several platforms with variations, so the table given below is a simple reference for the palette richness, and not an actual implemented palette. For this reason, no numbers are assigned to each color, and color order is arbitrary.
Note that "dark white" is a lighter gray than "bright black".
The 4-bits RGBI palettes are used by:
- Color Graphics Adapter, with brown instead of dark yellow). On CGA, setting a color "bright" added ⅓ of the maximum to all three channels' brightness, so the "bright" colors were whiter shades of their 3-bit counterparts. Each of the other bits increased a channel by ⅔, except that dark yellow had only ⅓ green and was therefore brown instead of ochre.
- The CGA palette was the default for EGA, VGA and Microsoft Windows 3.x (on the IBM PC and compatibles), although other palettes were available.
- MOS Technology VDC (on the Commodore 128)
- ZX Spectrum (with two black, black with bright is the same as black without bright)
- TI 99/4A / MSX (These use the TMS9918 video chip. The colors do not conform to the image above, but has instead: transparency, black, medium green, light green, dark blue, dark purple, brown, cyan, dark red, orange, dark yellow, light yellow, dark green, medium purple, gray, and white.)
- Sharp MZ 800
3-level RGB
modifierThe 3-level ('not' bits) RGB uses three level for every red, green and blue color components, resulting in a 33 = 27 colors palette as follows:
This palette is used by:
- The Amstrad CPC 464 series of personal computers excluding the Plus models
- The Toshiba Pasopia 7
3-3-2 bit RGB
modifierThe 3-3-2 bit RGB use 3 bits for each of the red and green color components, and 2 bits for the blue component, due to the lesser sensitivity of the common human eye to this primary color. This results in an 8×8×4 = 256-color palette as follows:
This palette is used by
- The MSX2 series of personal computers.
- Palette 4 of the IBM PGC (palette 2 gives 2-3-3 bit RGB and palette 3 gives 3-2-3 bit RGB).
- VGA built-in output of the Digilent Inc. NEXYS 2, NEXYS 3 and BASYS2 FPGA boards.
- The Uzebox gaming console
- SGI Indy 8-bit XL graphics
- The Tiki 100 personal computer (only 16 colors can be displayed simultaneously)
16-bit RGB
modifierMost modern systems support 16-bit color. It is sometimes referred to as Highcolor (along with the 15-bit RGB), medium color or thousands of colors. It utilizes a color palette of 32×64×32 = 65,536 colors. Usually, there are 5 bits allocated for the red and blue color components (32 levels each) and 6 bits for the green component (64 levels), due to the greater sensitivity of the common human eye to this color. This doubles the 15-bit RGB palette.
The 16-bit RGB palette using 6 bits for the green component:
The Atari Falcon and the Extended Graphics Array (XGA) for IBM PS/2 use the 16-bit RGB palette.
It must be noticed that not all systems using 16-bit color depth employ the 16-bit, 32-64-32 level RGB palette. Platforms like Sharp X68000 or the Neo Geo videogame console employs the 15-bit RGB palette (5 bits are used for red, green, and blue), but the last bit specifies a less significant intensity or luminance. The 16-bit mode of the Truevision TARGA/AT-Vista/NU-Vista graphic cards and its associated TGA file format also uses 15-bit RGB, but it devotes its remaining bit as a simple alpha channel for video overlay.