HOME

TheInfoList



OR:

In color science, a color model is an abstract mathematical model describing the way
color Color (or colour in English in the Commonwealth of Nations, Commonwealth English; American and British English spelling differences#-our, -or, see spelling differences) is the visual perception based on the electromagnetic spectrum. Though co ...
s 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 (viewing conditions, etc.), taking account of
visual perception Visual perception is the ability to detect light and use it to form an image of the surrounding Biophysical environment, environment. Photodetection without image formation is classified as ''light sensing''. In most vertebrates, visual percept ...
, the resulting set of colors is called " color space." This article describes ways in which human color vision can be modeled, and discusses some of the models in common use.


Tristimulus color space

One can picture this space as a region in three-dimensional
Euclidean space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
if one identifies the ''x'', ''y'', and ''z'' axes with the stimuli for the long-wavelength (''L''), medium-wavelength (''M''), and short-wavelength (''S'') light receptors. This is called the LMS color space. The origin, (''S'',''M'',''L'') = (0,0,0), corresponds to black. White has no definite position in this diagram; rather it is defined according to the color temperature or white balance as desired or as available from ambient lighting. The most saturated colors are located at the outer rim of the region, with brighter colors farther removed from the origin. Colors like brown or grey are perceived when, respectively, orange light and white light are received, but at a lower intensity than what it would be expected for the colors orange and white given the surrounding illumination. One can observe this phenomenon by watching the screen of an
overhead projector An overhead projector (often abbreviated to OHP), like a Movie projector, film or slide projector, uses light to Projector, project an enlarged image on a Projection screen, screen, allowing the view of a small document or picture to be shared ...
during a meeting: one sees black lettering on a white background, even though the "black" has in fact not become darker than the white screen on which it is projected before the projector was turned on. The "black" areas have not actually become darker but appear "black" relative to the higher intensity "white" projected onto the screen around it. See also color constancy. The human tristimulus space has the property that additive mixing of colors corresponds to the adding of vectors in this space. This makes it easy to, for example, describe the possible colors ( gamut) that can be constructed from the red, green, and blue primaries in a computer display.


CIE XYZ color space

One of the first mathematically defined color spaces is the CIE XYZ color space (also known as CIE 1931 color space), created by the
International Commission on Illumination The International Commission on Illumination (usually abbreviated CIE for its French name Commission internationale de l'éclairage) is the international authority on light, illumination, colour, and colour spaces. It was established in 1913 a ...
in 1931. These data were measured for human observers and a 2-degree field of view. In 1964, supplemental data for a 10-degree field of view were published. Note that the tabulated sensitivity curves have a certain amount of arbitrariness in them. The shapes of the individual X, Y and Z sensitivity curves can be measured with a reasonable accuracy. However, the overall luminosity function (which in fact is a weighted sum of these three curves) is subjective, since it involves asking a test person whether two light sources have the same brightness, even if they are in completely different colors. Along the same lines, the relative magnitudes of the X, Y, and Z curves are arbitrarily chosen to produce equal areas under the curves. One could as well define a valid color space with an X sensitivity curve that has twice the amplitude. This new color space would have a different shape. The sensitivity curves in the CIE 1931 and 1964 xyz color space are scaled to have equal areas under the curves. Sometimes XYZ colors are represented by the luminance, Y, and chromaticity coordinates ''x'' and ''y'', defined by: :x = \frac and y = \frac Mathematically, ''x'' and ''y'' are projective coordinates and the colors of the chromaticity diagram occupy a region of the real projective plane. Because the CIE sensitivity curves have equal areas under the curves, light with a flat energy spectrum corresponds to the point (''x'',''y'') = (0.333,0.333). The values for ''X'', ''Y'', and ''Z'' are obtained by integrating the product of the spectrum of a light beam and the published color-matching functions.


Additive and subtractive color models


RYB color model

RYB is a
subtractive color Subtractive color or subtractive color mixing predicts the spectral power distribution of light after it passes through successive layers of partially absorbing media. This idealized model is the essential principle of how dyes and pigments are ...
model used in art and applied design in which red,
yellow Yellow is the color between green and orange on the spectrum of light. It is evoked by light with a dominant wavelength of roughly 575585 nm. It is a primary color in subtractive color systems, used in painting or color printing. In t ...
, and
blue Blue is one of the three primary colours in the RYB color model, RYB colour model (traditional colour theory), as well as in the RGB color model, RGB (additive) colour model. It lies between Violet (color), violet and cyan on the optical spe ...
pigments are considered primary colors. The RYB color model relates specifically to color in the form of paint and pigment application in art and design. Other common color models include the light model (RGB) and the paint, pigment and ink CMY color model, which is much more accurate in terms of color gamut and intensity compared to the traditional RYB color model, the latter emerging in conjunction with the CMYK color model in the printing industry.' This model was used for printing by Jacob Christoph Le Blon in 1725 and called it ''Coloritto'' or ''harmony of colouring'', stating that the primitive (primary) colors are yellow, red and blue, while the secondary are orange, green and purple or violet.


RGB color model

Media that transmit light (such as television) use additive color mixing with primary colors of red,
green Green is the color between cyan and yellow on the visible spectrum. It is evoked by light which has a dominant wavelength of roughly 495570 nm. In subtractive color systems, used in painting and color printing, it is created by a com ...
, and
blue Blue is one of the three primary colours in the RYB color model, RYB colour model (traditional colour theory), as well as in the RGB color model, RGB (additive) colour model. It lies between Violet (color), violet and cyan on the optical spe ...
, each of which stimulates one of the three types of the eye's color receptors with as little stimulation as possible of the other two. This is called " RGB" color space. Mixtures of light of these primary colors cover a large part of the human color space and thus produce a large part of human color experiences. This is why
color television Color television (American English) or colour television (British English) is a television transmission technology that also includes color information for the picture, so the video image can be displayed in color on the television set. It improv ...
sets or color computer monitors need only produce mixtures of red, green and blue light. See Additive color. Other primary colors could in principle be used, but with red, green and blue the largest portion of the human color space can be captured. Unfortunately there is no exact consensus as to what loci in the chromaticity diagram the red, green, and blue colors should have, so the same RGB values can give rise to slightly different colors on different screens. RGB is a ''device-dependent'' color model: different devices detect or reproduce a given RGB value differently, since the color elements (such as
phosphor A phosphor is a substance that exhibits the phenomenon of luminescence; it emits light when exposed to some type of radiant energy. The term is used both for fluorescent or phosphorescent substances which glow on exposure to ultraviolet or ...
s or dyes) and their response to the individual red, green, and blue levels vary from manufacturer to manufacturer, or even in the same device over time. Thus an RGB value does not define the same ''color'' across devices without some kind of color management.


CMY and CMYK color models

It is possible to achieve a large range of colors seen by humans by combining
cyan Cyan () is the color between blue and green on the visible spectrum of light. It is evoked by light with a predominant wavelength between 500 and 520 nm, between the wavelengths of green and blue. In the subtractive color system, or CMYK c ...
,
magenta Magenta () is a purple-red color. On color wheels of the RGB color model, RGB (additive) and subtractive color, CMY (subtractive) color models, it is located precisely midway between blue and red. It is one of the four colors of ink used in colo ...
, and
yellow Yellow is the color between green and orange on the spectrum of light. It is evoked by light with a dominant wavelength of roughly 575585 nm. It is a primary color in subtractive color systems, used in painting or color printing. In t ...
transparent dyes/inks on a white substrate. These are the '' subtractive'' primary colors. Often a fourth ink,
black Black is a color that results from the absence or complete absorption of visible light. It is an achromatic color, without chroma, like white and grey. It is often used symbolically or figuratively to represent darkness.Eva Heller, ''P ...
, is added to improve reproduction of some dark colors. This is called the "CMY" or "CMYK" color space. The cyan ink absorbs red light but transmits green and blue, the magenta ink absorbs green light but transmits red and blue, and the yellow ink absorbs blue light but transmits red and green. The white substrate reflects the transmitted light back to the viewer. Because in practice the CMY inks suitable for printing also reflect a little bit of color, making a deep and neutral black impossible, the K (black ink) component, usually printed last, is needed to compensate for their deficiencies. Use of a separate black ink is also economically driven when a lot of black content is expected, e.g. in text media, to reduce simultaneous use of the three colored inks. The dyes used in traditional color photographic prints and slides are much more perfectly transparent, so a K component is normally not needed or used in those media.


Cylindrical-coordinate color models

A number of color models exist in which colors are fit into conic, cylindrical or spherical shapes, with neutrals running from black to white along a central axis, and hues corresponding to angles around the perimeter. Arrangements of this type date back to the 18th century, and continue to be developed in the most modern and scientific models.


Background

Different color theorists have each designed unique color solids. Many are in the shape of a
sphere A sphere (from Ancient Greek, Greek , ) is a surface (mathematics), surface analogous to the circle, a curve. In solid geometry, a sphere is the Locus (mathematics), set of points that are all at the same distance from a given point in three ...
, whereas others are warped three-dimensional ellipsoid figures—these variations being designed to express some aspect of the relationship of the colors more clearly. The color spheres conceived by Phillip Otto Runge and Johannes Itten are typical examples and prototypes for many other color solid schematics. The models of Runge and Itten are basically identical, and form the basis for the description below. Pure, saturated hues of equal brightness are located around the equator at the periphery of the color sphere. As in the color wheel, contrasting (or complementary) hues are located opposite each other. Moving toward the center of the color sphere on the equatorial plane, colors become less and less saturated, until all colors meet at the central axis as a neutral gray. Moving vertically in the color sphere, colors become lighter (toward the top) and darker (toward the bottom). At the upper pole, all hues meet in white; at the bottom pole, all hues meet in black. The vertical axis of the color sphere, then, is gray all along its length, varying from
black Black is a color that results from the absence or complete absorption of visible light. It is an achromatic color, without chroma, like white and grey. It is often used symbolically or figuratively to represent darkness.Eva Heller, ''P ...
at the bottom to
white White is the lightest color and is achromatic (having no chroma). It is the color of objects such as snow, chalk, and milk, and is the opposite of black. White objects fully (or almost fully) reflect and scatter all the visible wa ...
at the top. All pure (saturated) hues are located on the surface of the sphere, varying from light to dark down the color sphere. All impure (unsaturated hues, created by mixing contrasting colors) comprise the sphere's interior, likewise varying in brightness from top to bottom.


HSL and HSV

HSL and HSV are both cylindrical geometries, with hue, their angular dimension, starting at the red primary at 0°, passing through the
green Green is the color between cyan and yellow on the visible spectrum. It is evoked by light which has a dominant wavelength of roughly 495570 nm. In subtractive color systems, used in painting and color printing, it is created by a com ...
primary at 120° and the
blue Blue is one of the three primary colours in the RYB color model, RYB colour model (traditional colour theory), as well as in the RGB color model, RGB (additive) colour model. It lies between Violet (color), violet and cyan on the optical spe ...
primary at 240°, and then wrapping back to red at 360°. In each geometry, the central vertical axis comprises the ''neutral'', ''achromatic'', or ''gray'' colors, ranging from black at lightness 0 or value 0, the bottom, to white at lightness 1 or value 1, the top. Most televisions, computer displays, and projectors produce colors by combining red, green, and blue light in varying intensities—the RGB additive primary colors. However, the relationship between the constituent amounts of red, green, and blue light and the resulting color is unintuitive, especially for inexperienced users, and for users familiar with
subtractive color Subtractive color or subtractive color mixing predicts the spectral power distribution of light after it passes through successive layers of partially absorbing media. This idealized model is the essential principle of how dyes and pigments are ...
mixing of paints or traditional artists’ models based on tints and shades. In an attempt to accommodate more traditional and intuitive color mixing models, computer graphics pioneers at PARC and NYIT developed the HSV model in the mid-1970s, formally described by
Alvy Ray Smith Alvy Ray Smith III (born September 8, 1943) is an American computer scientist who co-founded Lucasfilm's Computer Division and Pixar, participating in the 1980s and 1990s expansion of computer animation into feature film. He is one of the 50 F ...
Smith (1978) in the August 1978 issue of ''Computer Graphics''. In the same issue, Joblove and Greenberg Joblove and Greenberg (1978) described the HSL model—whose dimensions they labeled ''hue'', ''relative chroma'', and ''intensity''—and compared it to HSV. Their model was based more upon how colors are organized and conceptualized in
human vision Visual perception is the ability to detect light and use it to form an image of the surrounding Biophysical environment, environment. Photodetection without image formation is classified as ''light sensing''. In most vertebrates, visual percept ...
in terms of other color-making attributes, such as hue, lightness, and chroma; as well as upon traditional color mixing methods—e.g., in painting—that involve mixing brightly colored pigments with black or white to achieve lighter, darker, or less colorful colors. The following year, 1979, at SIGGRAPH,
Tektronix Tektronix, Inc., historically widely known as Tek, is an American company best known for manufacturing test and measurement devices such as oscilloscopes, logic analyzers, and video and mobile test protocol equipment. Originally an independent c ...
introduced graphics terminals using HSL for color designation, and the Computer Graphics Standards Committee recommended it in their annual status report. These models were useful not only because they were more intuitive than raw RGB values, but also because the conversions to and from RGB were extremely fast to compute: they could run in real time on the hardware of the 1970s. Consequently, these models and similar ones have become ubiquitous throughout image editing and graphics software since then.


Munsell color system

Another influential older cylindrical color model is the early-20th-century Munsell color system. Albert Munsell began with a spherical arrangement in his 1905 book ''A Color Notation'', but he wished to properly separate color-making attributes into separate dimensions, which he called ''hue'', ''value'', and ''chroma'', and after taking careful measurements of perceptual responses, he realized that no symmetrical shape would do, so he reorganized his system into a lumpy blob. Munsell's system became extremely popular, the de facto reference for American color standards—used not only for specifying the color of paints and crayons, but also, e.g., electrical wire, beer, and soil color—because it was organized based on perceptual measurements, specified colors via an easily learned and systematic triple of numbers, because the color chips sold in the ''Munsell Book of Color'' covered a wide gamut and remained stable over time (rather than fading), and because it was effectively marketed by Munsell's Company. In the 1940s, the Optical Society of America made extensive measurements, and adjusted the arrangement of Munsell colors, issuing a set of "renotations". The trouble with the Munsell system for computer graphics applications is that its colors are not specified via any set of simple equations, but only via its foundational measurements: effectively a lookup table. Converting from requires interpolating between that table's entries, and is extremely computationally expensive in comparison with converting from or which only requires a few simple arithmetic operations. Fairchild (2005)


Natural Color System

The Swedish Natural Color System (NCS), widely used in Europe, takes a similar approach to the Ostwald bicone at right. Because it attempts to fit color into a familiarly shaped solid based on " phenomenological" instead of photometric or psychological characteristics, it suffers from some of the same disadvantages as HSL and HSV: in particular, its lightness dimension differs from perceived lightness, because it forces colorful yellow, red, green, and blue into a plane. MacEvoy (2010)


Preucil hue circle

In densitometry, a model quite similar to the hue defined above is used for describing colors of CMYK process inks. In 1953, Frank Preucil developed two geometric arrangements of hue, the "Preucil hue circle" and the "Preucil hue hexagon", analogous to our ''H'' and ''H''2, respectively, but defined relative to idealized cyan, yellow, and magenta ink colors. The "Preucil ''hue error''" of an ink indicates the difference in the "hue circle" between its color and the hue of the corresponding idealized ink color. The ''grayness'' of an ink is , where ''m'' and ''M'' are the minimum and maximum among the amounts of idealized cyan, magenta, and yellow in a density measurement.


CIELCHuv and CIELCHab

The
International Commission on Illumination The International Commission on Illumination (usually abbreviated CIE for its French name Commission internationale de l'éclairage) is the international authority on light, illumination, colour, and colour spaces. It was established in 1913 a ...
(CIE) developed the
XYZ model XYZ may refer to: Music Albums and songs * ''...XYZ'', a 1992 album by British indie band Moose (band), Moose * "XYZ", a song by Boards of Canada on the EP ''Peel Session (Boards of Canada EP), Peel Session'', 1999 * "XYZ", 2022 song by Deadmau5 * ...
for describing the colors of light spectra in 1931, but its goal was to match human visual metamerism, rather than to be perceptually uniform, geometrically. In the 1960s and 1970s, attempts were made to transform XYZ colors into a more relevant geometry, influenced by the Munsell system. These efforts culminated in the 1976 CIELUV and
CIELAB The CIELAB color space, also referred to as ''L*a*b*'', is a color space defined by the International Commission on Illumination (abbreviated CIE) in 1976. It expresses color as three values: ''L*'' for perceptual lightness and ''a*'' and ''b* ...
models. The dimensions of these models— and , respectively—are cartesian, based on the opponent process theory of color, but both are also often described using polar coordinates— and , respectively—where ''L''* is lightness, ''C''* is chroma, and ''h''* is hue angle. Officially, both CIELAB and CIELUV were created for their color difference metrics ∆''E''*''ab'' and ∆''E''*''uv'', particularly for use defining color tolerances, but both have become widely used as color order systems and color appearance models, including in computer graphics and computer vision. For example, gamut mapping in ICC color management is usually performed in CIELAB space, and Adobe Photoshop includes a CIELAB mode for editing images. CIELAB and CIELUV geometries are much more perceptually relevant than many others such as RGB, HSL, HSV, YUV/YIQ/YCbCr or XYZ, but are not perceptually perfect, and in particular have trouble adapting to unusual lighting conditions. Kuehni (2003) The HCL color space seems to be synonymous with CIELCH.


CIECAM02

The CIE's most recent model,
CIECAM02 In colorimetry, CIECAM02 is the color appearance model published in 2002 by the International Commission on Illumination (CIE) Technical Committee 8-01 (''Color Appearance Modelling for Color Management Systems'') and the successor of Color appe ...
(CAM stands for "color appearance model"), is more theoretically sophisticated and computationally complex than earlier models. Its aims are to fix several of the problems with models such as CIELAB and CIELUV, and to explain not only responses in carefully controlled experimental environments, but also to model the color appearance of real-world scenes. Its dimensions ''J'' (lightness), ''C'' (chroma), and ''h'' (hue) define a polar-coordinate geometry.


Color systems

There are various types of color systems that classify color and analyse their effects. The American Munsell color system devised by Albert H. Munsell is a famous classification that organises various colors into a color solid based on hue, saturation and value. Other important color systems include the Swedish Natural Color System (NCS), the Optical Society of America's Uniform Color Space (OSA-UCS), and the Hungarian Coloroid system developed by Antal Nemcsics from the Budapest University of Technology and Economics. Of those, the NCS is based on the opponent-process color model, while the Munsell, the OSA-UCS and the Coloroid attempt to model color uniformity. The American Pantone and the German RAL commercial color-matching systems differ from the previous ones in that their color spaces are not based on an underlying color model. The Icelandic Spot Matching System (SMS) Spot Matching System (SMS) is a so-called media neutral colour palette where all the colours can be reproduced online, on Television and in standard process printing (CMYK or better).


Other uses of "color model"


Models of mechanism of color vision

We also use "color model" to indicate a model or mechanism of color vision for explaining how color signals are processed from visual cones to ganglion cells. For simplicity, we call these models color mechanism models. The classical color mechanism models are YoungHelmholtz's trichromatic model and Hering's opponent-process model. Though these two theories were initially thought to be at odds, it later came to be hyothesized that the mechanisms responsible for color opponency receive signals from the three types of cones and process them at a more complex level.Kandel ER, Schwartz JH and Jessell TM, 2000. ''Principles of Neural Science'', 4th ed., McGraw-Hill, New York. pp. 577–80. A widely accepted model is called the zone model. A symmetrical zone model compatible with the trichromatic theory, the opponent theory, and Smith's color transform model is called the decoding model Lu C, 2021, Explaining colour vision with the decoding model, Research Features, Vol.135, pp.142-145.


Vertebrate evolution of color vision

Vertebrate animals were primitively tetrachromatic. They possessed four types of cones—long, mid, short wavelength cones, and ultraviolet sensitive cones. Today, fish, amphibians, reptiles and birds are all tetrachromatic. Placental mammals lost both the mid and short wavelength cones. Thus, most mammals do not have complex color vision—they are dichromatic but they are sensitive to ultraviolet light, though they cannot see its colors. Human trichromatic color vision is a recent evolutionary novelty that first evolved in the common ancestor of the Old World Primates. Our trichromatic color vision evolved by duplication of the long wavelength sensitive
opsin Animal opsins are G-protein-coupled receptors and a group of proteins made light-sensitive via a chromophore, typically retinal. When bound to retinal, opsins become retinylidene proteins, but are usually still called opsins regardless. Most pro ...
, found on the X chromosome. One of these copies evolved to be sensitive to green light and constitutes our mid wavelength opsin. At the same time, our short wavelength opsin evolved from the ultraviolet opsin of our vertebrate and mammalian ancestors. Human red–green color blindness occurs because the two copies of the red and green opsin genes remain in close proximity on the X chromosome. Because of frequent recombination during meiosis, these gene pairs can get easily rearranged, creating versions of the genes that do not have distinct spectral sensitivities.


See also

*
Color appearance model A color appearance model (CAM) is a mathematical model that seeks to describe the perceptual aspects of human color vision, i.e. viewing conditions under which the appearance of a color does not tally with the corresponding physical measurement ...
* Comparison of color models in computer graphics


Notes


References


Bibliography

* This book doesn't discuss HSL or HSV specifically, but is one of the most readable and precise resources about current color science. * Joblove and Greenberg's paper was the first describing the HSL model, which it compares to HSV. * This book only briefly mentions HSL and HSV, but is a comprehensive description of color order systems through history. * This paper explains how both HSL and HSV, as well as other similar models, can be thought of as specific variants of a more general "GLHS" model. Levkowitz and Herman provide pseudocode for converting from RGB to GLHS and back. * . Especially the sections abou
"Modern Color Models"
an

MacEvoy's extensive site about color science and paint mixing is one of the best resources on the web. On this page, he explains the color-making attributes, and the general goals and history of color order systems—including HSL and HSV—and their practical relevance to painters. * This is the original paper describing the "hexcone" model, HSV. Smith was a researcher at NYIT’s Computer Graphics Lab. He describes HSV's use in an early
digital painting Digital painting is either a physical painting made with the use of digital electronics and spray paint robotics within the digital art fine art context or pictorial art imagery made with pixels on a computer screen that mimics artworks from th ...
program.


External links


Illustrations and summaries of RGB, CMYK, LAB, HSV, HSL, and NCS



HSV Colors
by Hector Zenil, The
Wolfram Demonstrations Project The Wolfram Demonstrations Project is an Open source, open-source collection of Interactive computing, interactive programmes called Demonstrations. It is hosted by Wolfram Research. At its launch, it contained 1300 demonstrations but has grown t ...

HSV to RGB
by CodeBeautify {{Color topics
Model A model is an informative representation of an object, person, or system. The term originally denoted the plans of a building in late 16th-century English, and derived via French and Italian ultimately from Latin , . Models can be divided in ...
Mathematical modeling * Color vision