RGB color space




RGB-Cube


An RGB color space is any additive color space based on the RGB color model.[1] A particular RGB color space is defined by the three chromaticities of the red, green, and blue additive primaries, and can produce any chromaticity that is the triangle defined by those primary colors.[2] The complete specification of an RGB color space also requires a white point chromaticity and a gamma correction curve. As of 2007, sRGB is by far the most commonly used RGB color space.


RGB is an abbreviation for red–green–blue.




Contents





  • 1 Intuition


  • 2 Applications


  • 3 Specifications


  • 4 See also


  • 5 References


  • 6 External links




Intuition




Comparison of some RGB and CMYK colour gamuts on a CIE 1931 xy chromaticity diagram


An RGB color can be understood by thinking of it as all possible colors that can be made from three colored lights for red, green, and blue. Imagine, for example, shining three lights together onto a white wall in a dark room: one red light, one green light, and one blue light, each with dimmers. If only the red light is on, the wall will be red. If only the green light is on, the wall will look green. If the red and green lights are on together, the wall will look yellow. Dim the red light and the wall will become more of a yellow-green. Dim the green light instead, and the wall will become more orange. Bringing up the blue light a bit will cause the orange to become less saturated and more whitish. In all, each setting of the three dimmers will produce a different result, either in color or in brightness or both. The set of all possible results is the gamut defined by those particular color lamps. Swap the red lamp for one of a different brand that is slightly more orange, and there will be a slightly different gamut, since the set of all colors that can be produced with the three lights will be changed.


A computer LCD display can be thought of as a grid of millions of little red, green, and blue lamps, each with their own dimmers. The gamut of the display will depend on the three colors used for the red, green, and blue lights. A wide-gamut display will have very saturated, "pure" light colors, and thus be able to display very saturated, deep colors.



Applications


RGB is a convenient color model for computer graphics because the human visual system works in a way that is similar – though not quite identical – to an RGB color space. The most commonly used RGB color spaces are sRGB and Adobe RGB (which has a significantly larger gamut). Adobe has recently developed another color space called Adobe Wide Gamut RGB, which is even larger, in detriment to gamut density.


As of 2007, sRGB is by far the most commonly used RGB color space, particularly in consumer grade digital cameras, HD video cameras, and computer monitors. HDTVs use a similar space, commonly called Rec. 709, sharing the sRGB primaries. The sRGB space is considered adequate for most consumer applications. Having all devices use the same color space is convenient in that an image does not need to be converted from one color space to another before being displayed. However, sRGB's limited gamut leaves out many highly saturated colors that can be produced by printers or in film, and thus is not ideal for some high quality applications. The wider gamut Adobe RGB is being built into more medium-grade digital cameras, and is favored by many professional graphic artists for its larger gamut.



Specifications


RGB spaces are generally specified by defining three primary colors and a white point. In the table below the three primary colors and white points for various RGB spaces are given. The primary colors are specified in terms of their CIE 1931 color space chromaticity coordinates (x,y).






















































































































































Some RGB color space parameters
Color space
Gamut

White point
Primaries
Red
Green
Blue




ISO RGB
Limited
floating
floating
Extended ISO RGB
Unlimited (signed)
floating
floating

scRGB
Unlimited (signed)

D65
0.640.330.300.600.150.06

sRGB, HDTV (ITU-R BT.709)
CRT

D65
0.640.330.300.600.150.06

Adobe RGB 98
CRT

D65
0.640.330.210.710.150.06

PAL/SECAM (1970)
(EBU Tech. 3213, ITU-R BT.470 System B, G)
CRT

D65
0.640.330.290.600.150.06
NTSC (1987)
(SMPTE RP 145 "SMPTE C", SMPTE 170M)
CRT

D65
0.630.340.310.5950.1550.07
Japanese NTSC (1987)
CRT

D93
0.630.340.310.5950.1550.07

Apple RGB
CRT

D65
0.6250.340.280.5950.1550.07

NTSC (1953)
(FCC 1953, ITU-R BT.470 System M)
CRT

C
0.670.330.210.710.140.08

DCI-P3 (2010)
(SMPTE EG 432-1, RP 431-2)
Wide
D65
0.6800.3200.2650.6900.1500.060

UHDTV (ITU-R BT.2020, BT.2100)
Wide

D65
0.7080.2920.1700.7970.1310.046

Adobe Wide Gamut RGB
Wide

D50
0.7350.2650.1150.8260.1570.018

ROMM RGB
ProPhoto RGB
Wide

D50
0.73470.26530.15960.84040.03660.0001

CIE (1931) RGB
Wide

E
0.73470.26530.27380.71740.16660.0089
CIE XYZ (not RGB)
Unlimited

E
100100

The CIE 1931 color space standard defines both the CIE RGB space, which is an RGB color space with monochromatic primaries, and the CIE XYZ color space, which works like an RGB color space except that it has non-physical primaries that cannot be said to be red, green, and blue.



See also




  • CIE L*a*b* color space

  • Web colors

  • RGB color model

  • RGBA color space


References




  1. ^ Poynton, Charles A. (2003). Digital Video and HDTV: Algorithms and Interfaces. Morgan Kaufmann. ISBN 1-55860-792-7..mw-parser-output cite.citationfont-style:inherit.mw-parser-output .citation qquotes:"""""""'""'".mw-parser-output .citation .cs1-lock-free abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-subscription abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registrationcolor:#555.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration spanborder-bottom:1px dotted;cursor:help.mw-parser-output .cs1-ws-icon abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center.mw-parser-output code.cs1-codecolor:inherit;background:inherit;border:inherit;padding:inherit.mw-parser-output .cs1-hidden-errordisplay:none;font-size:100%.mw-parser-output .cs1-visible-errorfont-size:100%.mw-parser-output .cs1-maintdisplay:none;color:#33aa33;margin-left:0.3em.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-formatfont-size:95%.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-leftpadding-left:0.2em.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-rightpadding-right:0.2em


  2. ^ Hunt, R. W. G (2004). The Reproduction of Colour (6th ed.). Chichester UK: Wiley–IS&T Series in Imaging Science and Technology. ISBN 0-470-02425-9.




External links



  • Pascale, Danny. "A Review of RGB color spaces...from xyY to R'G'B'" (PDF). Retrieved 2008-01-21.


  • Susstrunk, Buckley and Swen. "Standard RGB Color Spaces" (PDF). Retrieved November 18, 2005.


  • Lindbloom, Bruce. "RGB Working Space Information". Retrieved November 18, 2005.


  • Colantoni, Philippe. "RGB cube transformation in different color spaces". Archived from the original on 2008-05-05.

  • The Difference Between CMYK and RGB in Digital Printing








這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

Museum of Modern and Contemporary Art of Trento and Rovereto