RGB color spaces

Last updated
1931 CIE chromaticity diagram showing some RGB color spaces as defined by their chromaticity triangles CIE1931xy gamut comparison.svg
1931 CIE chromaticity diagram showing some RGB color spaces as defined by their chromaticity triangles

RGB color spaces is a category of additive colorimetric color spaces [1] specifying part of its absolute color space definition using the RGB color model. [2]

Contents

RGB color spaces are commonly found describing the mapping of the RGB color model to human perceivable color, but some RGB color spaces use imaginary (non-real-world) primaries and thus can not be displayed directly.

Like any color space, while the specifications in this category use the RGB color model to describe their space, it is not mandatory to use that model to signal pixel color values. Broadcast TV color spaces like NTSC, PAL, Rec. 709, Rec. 2020 additionally describe a translation from RGB to YCbCr and that is how they are usually signalled for transmission, but an image can be stored as either RGB or YCbCr. This demonstrates using the singular term "RGB color space" can be misleading, since a chosen color space or signalled colour can be described by any appropriate color model. However the singular can be seen in specifications where storage signalled as RGB is its intended use.

Definition

RGB cube RGB Cube Show lowgamma cutout b.png
RGB cube

The normal human eye contains three types of color-sensitive cone cells. Each cell is responsive to light of either long, medium, or short wavelengths, which we generally categorize as red, green, and blue. Taken together, the responses of these cone cells are called the Tristimulus values, and the combination of their responses is processed into the psychological effect of color vision.

RGB use in color space definitions employ primaries (and often a white point) based on the RGB color model, to map to real world color. Applying Grassmann's law of light additivity, the range of colors that can be produced are those enclosed within the triangle on the chromaticity diagram defined using the primaries as vertices. [3]

The primary colors are usually mapped to xyY chromaticity coordinates, though the uʹ,vʹ coordinates from the UCS chromaticity diagram may be used. Both xyY and uʹ,vʹ are derived from the CIE 1931 color space, a device independent space also known as XYZ which covers the full gamut of human-perceptible colors visible to the CIE 2° standard observer.

Applications

One million colors in RGB space, visible in full-size image 1Mcolors.png
One million colors in RGB space, visible in full-size image

RGB color spaces are well-suited to describing the electronic display of color, such as computer monitors and color television. These devices often reproduce colours using an array of red, green, and blue phosphors agitated by a cathode-ray tube (CRT), or an array of red, green, and blue LCDs lit by a backlight, and are therefore naturally described by an additive color model with RGB primaries.

Early examples of RGB color spaces came with the adoption of the NTSC color television standard in 1953 across North America, followed by PAL and SECAM covering the rest of the world. These early RGB spaces were defined in part by the phosphor used by CRTs in use at the time, and the gamma of the electron beam. While these color spaces reproduced the intended colors using additive red, green, and blue primaries, the broadcast signal itself was encoded from RGB components to a composite signal such as YIQ, and decoded back by the receiver into RGB signals for display.

HDTV uses the BT.709 color space, later repurposed for computer monitors as sRGB. Both use the same color primaries and white point, but different transfer functions, as HDTV is intended for a dark living room while sRGB is intended for a brighter office environment.[ citation needed ] The gamut of these spaces is limited, covering only 35.9% of the CIE 1931 gamut. [4] While this allows the use of a limited bit depth without causing color banding, and therefore reduces transmission bandwidth, it also prevents the encoding of deeply saturated colors that might be available in an alternate color spaces. Some RGB color spaces such as Adobe RGB and ProPhoto intended for the creation, rather than transmission, of images are designed with expanded gamuts to address this issue, however this does not mean the larger space has 'more colors". The numerical quantity of colors is related to bit depth and not the size or shape of the gamut. A large space with a low bit depth can be detrimental to the gamut density and result in high errors[ further explanation needed ].

More recent color spaces such as Rec. 2020 for UHD-TVs define an extremely large gamut covering 63.3% of the CIE 1931 space. [5] This standard is not currently realisable with current LCD technology, and alternative architectures such as quantum dot [6] or OLED [7] based devices are currently in development.

Color space specifications employing the RGB color model

Color spaceReference StandardPrimary Color Model for SignallingYear White point Color Primaries Display

gamma

Transfer function parameters
RedGreenBlueγαβδβδ
xʀyʀxɢyɢxʙyʙEOTFa + 1K0/φ = EtφK0
NTSC-J Based on NTSC(M)YCbCr1987 D93 0.630.340.310.5950.1550.07Curved
NTSC, MUSE SMPTE RP 145 (C), 170M, 240MYCbCr1987 D65 20/91.11150.005740.0228
Apple RGB(Apple Computer)RGB0.6250.281.8
PAL / SECAM EBU 3213-E, BT.470/601 (B/G) YCbCr19700.640.330.290.600.150.06Curved14/5
sRGB IEC 61966-2-1RGB1996, 19990.302.212/51.0550.003130812.920.04045
scRGB IEC 61966-2-22003
HDTV ITU-R BT.709 YCbCr1999Curved20/91.0990.0044.50.018
Adobe RGB (Adobe)RGB19980.210.712.2563/256
M.A.C.ITU-R BO.650-2 [8] 19850.670.140.082.8
NTSC-FCC ITU-R BT.470/601 (M) YCbCr1953 C 2.2 [9] 11/5
PAL-M ITU-R BT.470-6 [10] YCbCr1972
eciRGB ISO 22028-42008, 2012 D50 1.831.160.0088569.0330.08
DCI-P3 SMPTE RP 431-2YCbCr20116300K0.680.320.2650.690.150.062.613/5
Display P3 SMPTE EG 432-1RGB2010D65~2.212/51.0550.003130812.920.04045
UHDTV ITU-R BT.2020, BT.2100 YCbCr2012, 20160.7080.2920.1700.7970.1310.046Curved1.09930.0180544.50.081243
Wide Gamut (Adobe)RGB D50 0.73470.26530.11520.82640.15660.01772.2563/256
RIMMISO 22028-32006, 20120.73470.26530.15960.84040.03660.00012.22220/91.0990.00185.50.099
ProPhoto (ROMM) ISO 22028-22006, 20130.7346990.2653010.1595970.8404030.0365980001051.89/510.001953125160.031248
CIE RGB CIE 1931 color space 1931 E 0.734742840.265257160.273779030.71747770.166555630.00891073
CIE XYZ 1001001

The CIE 1931 color space standard defines both the CIE RGB space, which is a color space with monochromatic primaries, and the CIE XYZ color space, which is functionally similar to a linear RGB color space, however the primaries are not physically realizable, thus are not described as red, green, and blue.

M.A.C. is not to be confused with MacOS. Here, M.A.C.refers to Multiplexed Analogue Components.

See also

Related Research Articles

<span class="mw-page-title-main">RGB color model</span> Color model based on red, green, and blue

The RGB color model is an additive color model in which the red, green and blue primary colors of light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three additive primary colors, red, green, and blue.

<span class="mw-page-title-main">CMYK color model</span> Subtractive color model, used in color printing

The CMYK color model is a subtractive color model, based on the CMY color model, used in color printing, and is also used to describe the printing process itself. The abbreviation CMYK refers to the four ink plates used: cyan, magenta, yellow, and key (black).

<span class="mw-page-title-main">Primary color</span> Fundamental color in color mixing

A set of primary colors or primary colours consists of colorants or colored lights that can be mixed in varying amounts to produce a gamut of colors. This is the essential method used to create the perception of a broad range of colors in, e.g., electronic displays, color printing, and paintings. Perceptions associated with a given combination of primary colors can be predicted by an appropriate mixing model that reflects the physics of how light interacts with physical media, and ultimately the retina. The most common color mixing models are the additive primary colors and the subtractive primary colors. Red, yellow and blue are also commonly taught as primary colours, despite some criticism due to its lack of scientific basis.

<span class="mw-page-title-main">Y′UV</span> Mathematical color model

Y′UV, also written YUV, is the color model found in the PAL analogue color TV standard. A color is described as a Y′ component (luma) and two chroma components U and V. The prime symbol (') denotes that the luma is calculated from gamma-corrected RGB input and that it is different from true luminance. Today, the term YUV is commonly used in the computer industry to describe colorspaces that are encoded using YCbCr.

<span class="mw-page-title-main">Additive color</span> Model for predicting color created by mixing visible light

Additive color or additive mixing is a property of a color model that predicts the appearance of colors made by coincident component lights, i.e. the perceived color can be predicted by summing the numeric representations of the component colors. Modern formulations of Grassmann's laws describe the additivity in the color perception of light mixtures in terms of algebraic equations. Additive color predicts perception and not any sort of change in the photons of light themselves. These predictions are only applicable in the limited scope of color matching experiments where viewers match small patches of uniform color isolated against a gray or black background.

<span class="mw-page-title-main">CIELAB color space</span> Standard color space with color-opponent values

The CIELAB color space, also referred to as L*a*b*, is a color space defined by the International Commission on Illumination in 1976. It expresses color as three values: L* for perceptual lightness and a* and b* for the four unique colors of human vision: red, green, blue and yellow. CIELAB was intended as a perceptually uniform space, where a given numerical change corresponds to a similar perceived change in color. While the LAB space is not truly perceptually uniform, it nevertheless is useful in industry for detecting small differences in color.

<span class="mw-page-title-main">Gamut</span> Color reproduction capability

In color reproduction and colorimetry, a gamut, or color gamut, is a convex set containing the colors that can be accurately represented, i.e. reproduced by an output device or measured by an input device. Devices with a larger gamut can represent more colors. Similarly, gamut may also refer to the colors within a defined color space, which is not linked to a specific device. A trichromatic gamut is often visualized as a color triangle. A less common usage defines gamut as the subset of colors contained within an image, scene or video.

The RGB chromaticity space, two dimensions of the normalized RGB space, is a chromaticity space, a two-dimensional color space in which there is no intensity information.

sRGB Standard RGB color space

sRGB is a standard RGB color space that HP and Microsoft created cooperatively in 1996 to use on monitors, printers, and the World Wide Web. It was subsequently standardized by the International Electrotechnical Commission (IEC) as IEC 61966-2-1:1999. sRGB is the current defined standard colorspace for the web, and it is usually the assumed colorspace for images that are neither tagged for a colorspace nor have an embedded color profile.

<span class="mw-page-title-main">Adobe RGB color space</span> Color space developed by Adobe

The Adobe RGB (1998) color space or opRGB is a color space developed by Adobe Inc. in 1998. It was designed to encompass most of the colors achievable on CMYK color printers, but by using RGB primary colors on a device such as a computer display. The Adobe RGB (1998) color space encompasses roughly 30% of the visible colors specified by the CIELAB color space – improving upon the gamut of the sRGB color space, primarily in cyan-green hues. It was subsequently standardized by the IEC as IEC 61966-2-5:1999 with a name opRGB and is used in HDMI.

In color science, a color model is an abstract mathematical model describing the way colors can be represented as tuples of numbers, typically as three or four values or color components. When this model is associated with a precise description of how the components are to be interpreted, taking account of visual perception, the resulting set of colors is called "color space."

<span class="mw-page-title-main">CIE 1931 color space</span> Color space defined by the CIE in 1931

In 1931 the International Commission on Illumination (CIE) published the CIE 1931 color spaces which define the relationship between the visible spectrum and the visual sensation of specific colors by human color vision. The CIE color spaces are mathematical models that create a "standard observer", which attempts to predict the perception of unique hues of color. These color spaces are essential tools that provide the foundation for measuring color for industry, including inks, dyes, and paints, illumination, color imaging, etc. The CIE color spaces contributed to the development of color television, the creation of instruments for maintaining consistent color in manufacturing processes, and other methods of color management.

xvYCC or extended-gamut YCbCr is a color space that can be used in the video electronics of television sets to support a gamut 1.8 times as large as that of the sRGB color space. xvYCC was proposed by Sony, specified by the IEC in October 2005 and published in January 2006 as IEC 61966-2-4. xvYCC extends the ITU-R BT.709 tone curve by defining over-ranged values. xvYCC-encoded video retains the same color primaries and white point as BT.709, and uses either a BT.601 or BT.709 RGB-to-YCC conversion matrix and encoding. This allows it to travel through existing digital limited range YCC data paths, and any colors within the normal gamut will be compatible. It works by allowing negative RGB inputs and expanding the output chroma. These are used to encode more saturated colors by using a greater part of the RGB values that can be encoded in the YCbCr signal compared with those used in Broadcast Safe Level. The extra-gamut colors can then be displayed by a device whose underlying technology is not limited by the standard primaries.

<span class="mw-page-title-main">Rec. 709</span> Standard for HDTV image encoding and signal characteristics

Rec. 709, also known as Rec.709, BT.709, and ITU 709, is a standard developed by ITU-R for image encoding and signal characteristics of high-definition television.

<span class="mw-page-title-main">Color space</span> Standard that defines a specific range of colors

A color space is a specific organization of colors. In combination with color profiling supported by various physical devices, it supports reproducible representations of color – whether such representation entails an analog or a digital representation. A color space may be arbitrary, i.e. with physically realized colors assigned to a set of physical color swatches with corresponding assigned color names, or structured with mathematical rigor. A "color space" is a useful conceptual tool for understanding the color capabilities of a particular device or digital file. When trying to reproduce color on another device, color spaces can show whether shadow/highlight detail and color saturation can be retained, and by how much either will be compromised.

<span class="mw-page-title-main">Impossible color</span> Color that cannot be perceived under ordinary viewing conditions

Impossible colors are colors that do not appear in ordinary visual functioning. Different color theories suggest different hypothetical colors that humans are incapable of perceiving for one reason or another, and fictional colors are routinely created in popular culture. While some such colors have no basis in reality, phenomena such as cone cell fatigue enable colors to be perceived in certain circumstances that would not be otherwise.

<span class="mw-page-title-main">Rec. 2020</span> ITU-R recommendation

ITU-R Recommendation BT.2020, more commonly known by the abbreviations Rec. 2020 or BT.2020, defines various aspects of ultra-high-definition television (UHDTV) with standard dynamic range (SDR) and wide color gamut (WCG), including picture resolutions, frame rates with progressive scan, bit depths, color primaries, RGB and luma-chroma color representations, chroma subsamplings, and an opto-electronic transfer function. The first version of Rec. 2020 was posted on the International Telecommunication Union (ITU) website on August 23, 2012, and two further editions have been published since then.

<span class="mw-page-title-main">DCI-P3</span> RGB color space for digital movie projection from the American film industry

DCI-P3 is a color space defined in 2005 as part of the Digital Cinema Initiative, for use in theatrical digital motion picture distribution (DCDM). Display P3 is a variant developed by Apple Inc. for wide-gamut displays.

ITU-R Recommendation BT.2100, more commonly known by the abbreviations Rec. 2100 or BT.2100, introduced high-dynamic-range television (HDR-TV) by recommending the use of the perceptual quantizer or hybrid log–gamma (HLG) transfer functions instead of the traditional "gamma" previously used for SDR-TV.

References

  1. "colorimetric colour space (definition)". France: International Commission on Illumination (CIE). Retrieved 8 October 2023.
  2. Pascale, Danny. "A Review of RGB color spaces...from xyY to R'G'B'" (PDF). Retrieved 20 October 2021.
  3. 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.
  4. Yamashita, Takayuki; Nishida, Yukihiro; Emoto, Masaki; Ohmura, Kohei; Masaoka, Kenichiro; Masuda, Hiroyasu; Sugawara, Masayuki. "Super Hi-Vision as Next-Generation Television and Its Video Parameters". Information Display. Archived from the original on 2018-02-10.
  5. Baker, Simon (19 February 2014). "The Pointer's Gamut - The Coverage of Real Surface Colors by RGB Color Spaces and Wide Gamut Displays". TFTCentral. Retrieved 13 January 2023.
  6. Chen, Haiwei; He, Juan; Wu, Shin-Tson (September 2017). "Recent Advances on Quantum-Dot-Enhanced Liquid-Crystal Displays". IEEE Journal of Selected Topics in Quantum Electronics. 23 (5): 1–11. Bibcode:2017IJSTQ..2349466C. doi:10.1109/JSTQE.2017.2649466. S2CID   1400159.
  7. Huang, Yuge; Hsiang, En-Lin; Deng, Ming-Yang; Wu, Shin-Tson (18 June 2020). "Mini-LED, Micro-LED and OLED displays: present status and future perspectives". Light: Science & Applications. 9 (1): 105. Bibcode:2020LSA.....9..105H. doi:10.1038/s41377-020-0341-9. PMC   7303200 . PMID   32577221. S2CID   235470310.
  8. "RECOMMENDATION ITU-R BO.650-2 *,** | Standards for conventional television systems for satellite broadcasting in the channels defined by Appendix 30 of the Radio Regulations" (PDF).
  9. 47 CFR § 73.682 (20) (iv)
  10. "Recommendation ITU-R BT.470-6 | Conventional Television Systems" (PDF).