RGB Colors and Ecological Optics

Object color space is highly structured due to optical constraints (radiant power non-negative, reflectance factors between zero and unity) and ecological context (daylight illuminant). In this setting trichromacy induces a natural geometry through a unique spectral tripartition. Different from null-context colorimetry, one gains two desirable relations: The colorimetric coordinates are coarse-grained spectral reflectance factors and there is a direct link to color experiences, since RGB–coordinates provide ostensive definitions. The framework allows one to deal with subtractive color mixture, source variation, effects of metamerism and relations between scenes and image data in a unified, structured manner. In ecological contexts, colors are effectively object properties. The formal framework is linear algebra and convex geometry. Applications in human biology, computer graphics, design, etc., are immediate.


INTRODUCTION
Are colors object properties? Answers depend on the intended ontological roots. Instances are "physical colors" (radiant power spectra and spectral reflectance factors), "colorimetric colors" (like red, nominal; RGB[99|00|00], quantitative; Section 4.2) and "phenomenological colors" (Yred, where "Y" stands for experiential quale or ostensive in intersubjective communication, Section 1.1). The first two bridge physics and physiology, the third one physiology and phenomenology. Meaning derives from the synthesis. Thus art and design, image science, computer graphics (CG) and ecological biology/psychology involve all.
Balanced accounts of such diverse interrelations are rare. We present a minimalist formal account, with various novel developments. DEFINITION 2 (Black object). A black object has zero spectral albedo.
The standard laboratory implementation is a black hole (Kortüm, 1969). For informal use, black velvet will do. Finally, we define "visual object": DEFINITION 3 (Generic visual object). A generic visual object is a Lambertian surface with spectral albedo less than that of the white object throughout the spectrum.
For informal experiments one uses colored papers. These definitions involve only physics, no chemistry, psychology or physiology.
We ignore radiometrical intricacies [structure of the radiant field, shapes and other geometrical factors, multiple scattering and vignetting, . . . (Koenderink and van Doorn, 1983)]. Objects are scattering surfaces presented in a single plane and are irradiated with a uniform beam. This leaves problems of a phenomenological nature. A carefully designed standard display minimizes these (Supplementary Section S1.1; Supplementary Figure S1). 1 Observers tend to agree on the color of a patch when the overall situational awareness is "natural." In evolutionary terms that implies steppe or savannah hunter-gatherer existence (Koenderink, 2019). Thus a screen display is less natural than colored papers on a table top, or a bed of flowers.
In this context, people readily learn to associate coarse-grained spectral reflectance factors with "seen colors." Although such Ycolors are subjective and idiosyncratic, there is no lack of intersubjective agreement. Successful communication is the rule. People recognize hundreds of object colors (Koenderink et al., 2018c). This does not imply being able to name them (Griffin and Mylonas, 2019), but familiarity with color coordinates allows reproduction of hundreds of colors from specifications such as "RGB[99|50|00]" (Koenderink et al., 2018c).
There is something like a fuzzy map of colorimetric colors to quale (Nagel, 1974): where Q denotes the space of qualia and "Ψ" refers to psychogenesis (Supplementary Section S2). The function call is only an example of an instance: RGB[99|00|00] ∈ C RGB tends to look Yred ∈ Q. There is no concept "Yred," but one can tacitly "point" to it. The way to "point" is to display a sample. The viewer "sees" what is being pointed at, a display of RGB[99|00|00] looks Yred (Koenderink et al., 2018c). This is successful tacit communication, without reference to linguistic concepts. Ostensive definitions presuppose empathic understanding. Lacking that, one may send the message "the display shows RGB[99|00|00], an optical object often called 'red' by me and others." The italic addition serves to indicate the perceived lack of intersubjective understanding. One cannot deploy Ψ in formal derivations. But the "meaning" of colorimetric description depends upon it. It can only be conveyed through display. Professional users routinely depend upon Ψ and are entirely happy to deploy Ψ −1 as a convenient heuristic.
Thus Ψ is effectively used in both intersubjective communication, as well as in individual, silent thought. Arguing about color in the absence of a shared vision is vacuous talk. Ostension solves that impasse.

RADIANT POWER SPECTRA, SPECTRAL REFLECTANCE FACTORS AND COLORIMETRIC COORDINATES
We comment on standard radiometric and colorimetric backgrounds (Bouma, 1946;Wyszecki and Stiles, 1967;Koenderink, 2010;Centore, 2017). Readers are assumed to be familiar with it.

Radiant Power Spectra
Radiant power spectra are denoted S(λ). Since we only use ratios, physical units are irrelevant. We consider incoherent beams (Feynman et al., 1964;Born and Wolf, 1999) and radiant power on wavelength (λ) basis. Thus the spectrum of two attenuated (factors ξ, η) and superimposed ("+") radiant beams (P, Q) is the appropriate linear combination ξP(λ) + ηQ(λ). We mainly use this to indicate source spectra. In rare cases we mention the proximate stimulus, that is the scattered beam. The interest is in the distal stimulus, that is to say, the object properties.
Wavelength is a continuous coordinate. Radiant spectra are points in a vector space R + ∞ . This "space of beams" B is a Hausdorff space, but not a Hilbert space (Arkhangelskii and Pontryagin, 1990). This rules out methods depending on a metric, such as Moore-Penrose pseudoinverses (Axler, 2015), or PDA (Maloney and Wandell, 1986). Such use is common in the literature, but ill considered.

Spectral Reflectance Factors
The object property to consider is the spectral albedo, specified as spectral reflectance factor. This is the fraction of the scattered power relative to that scattered by the white object in the same attitude at the same location. Spectral reflectance factors are naturally dimensionless. Geometrically, they are represented as diagonal matrices [written R(λ)] with coefficients from the unit interval I 1 . We ignore such processes as fluorescence, which might produce off-diagonal elements. The white object has R(λ) I ∞ , the unit matrix, which is usually omitted.

Colorimetry
Colorimetry considers the equivalence of radiant beams in controlled settings. If members of a pair cannot be 1 The supplement to this paper contains various technical details and additional illustrations. Due to length limitations much material has been moved to this supplement. We recommend to skip to the supplement anytime the text refers to it. It will aid in getting the picture. Throughout the text we refer to it. References to sections are "Supplementary Sections and Figures." The supplement is available at the publisher's website. distinguished we note that as P^Q. Such beams are in any way equivalent to the human observer (Grassmann, 1853).
Results are well described by a linear projection operator M (say) such that (P^Q)5(MP MQ). The beams physically differ by a "black beam" (P − Q) ∈ N kerM. Note that ∅ ∈ N (∅ the "empty beam") but P − Q ≠ ∅.
N fully describes human vision for colorimetric purposes (Koenderink, 2010). All ∞-many operators with the same null space N are equivalent. One finds that codim N 3 ("trichromacy") for the generic human observer (Maxwell, 1855).
The explanation is that only the ratios of absorptions in three retinal photo-pigments (Stockman et al., 2000) causally affect Ψ. They are like the spectral sensitivity curves of an electronic camera. Using humans as null-detectors allows one to measure these curves modulo arbitrary linear transformations, which is all that counts in colorimetry (Maxwell, 1855;Koenderink, 2010). The projection operator involves arbitrary linear combinations. For a start we use the CIE-XYZ "color matching" matrix M XYZ (CIE, 1932;Schanda, 2007). It can be downloaded in table form from the Internet (http://www.cvrl.org). This matrix, applied to a radiant power spectrum yields a 3-vector, denoted "color" in the CIE XYZ-space C XYZ . Note that CIE-XYZ is in no way "special." Such a color represents an equivalence class of spectra, all mutually differing by elements of N.
Since M XYZ exists as table, analysis depends on numerical procedures. This is all the structure that is required to start building a representation of the space of object colors. Once the natural representation has been set up, the arbitrary CIE XYZ representation may be discarded.

Fundamental Physical Constraints
Formally, colorimetry is linear algebra. There is no particular reason to select a specific basis. This is true for the physics. Newton's (Newton, 1704) notion that sunlight is a "confused mixture" of atomic elements is nonsense. In linear spaces there are no atomic elements. The wavelength basis is a convenience. Radiant power spectra imply finite resolution (Born and Wolf, 1999). Monochromatic beams are fictions. Wavelengths stand neither for beams, nor Ycolors.
Purely formally we denote unit power monochromatic beams M λ (μ) δ(λ − μ), in terms of the Dirac delta-function, but all actual spectra we deal with are positive, smooth distributions.
Fundamental physical constraints put highly constraining structure on the amorphic linear continuum. Relevant ones are: Physics 1 (Fundamental physical constraints). Two physical constraints structure object color space: 1. radiant power is positive; 2. reflectance factors range over the interval 0 . . . 1; An additional constraint is physiological: 3. the co-dimension of N is 3.
The latter constraint applies to the bulk of the population (roughly one-tenth of the males is dichromatic). Additional constraints that render "color as object property" possible are ecological. We consider these later.

The Spectrum Cone
That radiant power is positive implies that all colors are contained in a conical convex hull, confined to a half-space ( Figure 1). An important empirical fact is: EMPIRICAL FACT 1 (The spectrum cone). The generators of the boundary of the spectrum cone are monochromatic beams. NOTE This is necessarily an ideal limit, since monochromatic beams cannot exist as physical objects. This is of crucial importance (West and Brill, 1983;Koenderink, 2010). In terms of the sharp map (Eq. 1), the wavelength parameterizes (ignoring trivial matters of resolution) distinct qualia. It fails to cover the range. For instance Ypurple is a quale for which there is no corresponding wavelength.
In some conventional spectral ranges one encounters minor violations of convexity near the spectrum limits. One may avoid this by limiting the visual range to 390-710 nm. The very minor violations at either end are of no practical consequence (Dropping this clipping makes a fractional XYZ difference of less than 5 10 − 4 relative to white-which is nothing).
The purple sector is best seen in a view from the direction of the color W λ ir λ uv Mε(λ) dλ [ε(λ) the equal energy spectrum, Figure 2]. This color W tends to appear Ywhite. The cone generators (monochromatic beams of unit power M λ ) are labeled by wavelength. Note that there exist pairs {λ, λ} that are coplanar with W thus satisfying [MM λ , MM λ , W] 0, 2 although not all generators are a member of such a pair. The pairs are denoted "complementary." Complementarity is a formal relation between color triples in colorimetry proper. In the context of object colors complementarity has a formal and a physical meaning. Complementary object colors satisfying R 1 (λ) + R 2 (λ) I ∞ are "bipartitions of white," these might be denoted "supplementary." Supplementarity implies complementarity, but not vice versa. Supplementarity cannot be defined in colorimetry proper. In object color space the white object is "given," thereby uniquely defining supplementarity and thus complementarity (for any illuminant!). In colorimetry proper, complementary is an arbitrary convention.

OBJECT COLOR SPACE
We proceed to construct object color space. The mere colorimetry of beams, does not offer handles to arrive at a "canonical basis" (CIE XYZ-space is a convenience). Ways to go beyond that either turn to physiology (the cone fundamentals as a preferred basis) or psychometry (thresholds, just noticeable differences), or even phenomenology ("eye measure") (Bouma, 1946).
In contradistinction, object color space allows one to establish a preferred basis and even a metric (Section 4.3). That is a decisive step forward.

The Schrödinger Color Solid
In the standard context of object colors the radiant source is fixed. The generic instance is "average daylight." This is indeed of crucial importance, as evident from the efforts of visual artists (painters through the ages, photographers for almost two centuries, cinematographers for a century, museum directors, and so forth).
Suppose the beam irradiating the gamut of samples is fixed to the equal energy spectrum ε(λ). Then the color C of an object The beams scattered to the eye of the observer are spectrally dominated by the beam scattered by the white object. The normalization (denominator) achieves W {1, 1, 1}. In the space of beams the set of scattered spectra all lie within a finite volume. It is I ∞ , a infinitely dimensional parallelepiped. , which has a Euclidian metric. It is an orthographic view of the spectrum cone from the direction of the achromatic direction. In this geometry angles in the plane orthogonal to the achromatic direction are meaningful. The parameterization by angle is then preferable over parameterization by wavelength. The latter is essentially arbitrary. Right: Complementary wavelengths are defined by spectrum generators that are coplanar with the achromatic direction W. In the angular parameterization (in this figure and Section 4.3) they are an angle π apart (the inset). Note that not every wavelength has a complementary mate.
Thus it is centrally symmetric and convex. One vertex is the origin ∅.
Since the projection is linear, the gamut of object colors S in color space is also a centrally symmetric, convex volume, connected to the origin. In the infinitesimal environment of the origin (the color K M∅, looks Yblack) it will be tangent to the spectrum cone, whereas, at the "white point"W it will be tangent to the inverted spectrum cone. Otherwise one expects a smooth surface, except for possible curved, dihedral ridges.
Such an object was first intuited by a painter in the early 19th century (Runge, 1810), then by a combination of intuitive, formal and empirical methods approximately constructed by Ostwald (1919), finally formally defined by Schrödinger (1920). Schrödinger proved (also intuited by Ostwald a decade earlier): THEOREM 1 (Schrödinger's Optimal Colors). The colors on the boundary of S are singled out by two properties: 1. they are characteristic functions in the wavelength domain, that is to say, the spectral reflectance factors are either zero or one; 2. the spectral reflectance factors have no more than two transitions over the visual range.
The proof is immediate (Schrödinger, 1920): With 3-degrees of freedom (DOG) one can move the color away from the origin. Schrödinger's constraints veto that possibility.
Ostwald (Ostwald 1917a;Ostwald, 1919) proposed a simplifying intuition. If one conceives of the spectrum limits as (colorimetrically) connected (discounting the purple gap), the colors on the boundary are singly connected characteristic functions.
One way to visualize S is to compute all optimal colors (a few hundred will do) and construct the convex hull. Another is to generate millions of random object colors and compute the convex hull (the latter action will discard most of the gamut). The result will be the same [ (Koenderink, 2010;Centore, 2011), Figure 3].
Of course, the result will depend upon the spectrum (not just the color!) of the radiant environment (daylight say). The consequences of the choice are considered in Section 6. Until  Frontiers in Computer Science | www.frontiersin.org April 2021 | Volume 3 | Article 630370 5 further notice we stick to the "equal energy" spectrum ε(λ) 1 on wavelength basis. This arbitrary choice is not too different from "average daylight."

The Edge-Color Curves
Although the boundary of the color solid is a surface, thus twodimensional, it is a very constrained surface. Technically it is a double surface of translation (Koenderink, 1990;Koenderink, 2010). The surface can be constructed from a curve. That curve is the cumulated source radiant power spectrum. Since one may start cumulation from either spectrum end, one may construct two of such curves. These are mutually congruent. The curves are known as "edge-colors," or boundary colors after the German Kantenspektren. These were accidentally discovered by Goethe (1810) as he playfully looked at a window edge through a prism (Supplementary Section S4; Supplementary Figure S4.).
Starting accumulation from the short wavelength end, the curve is [don't confuse K (black) with K(λ) (edge color)].
where E(λ) is the source spectrum and λ uv , λ ir , the spectrum limits near the ultraviolet (UV) and infrared (IR). The other curve K(λ) may be defined as K(λ) W − K(λ), where W is the color of the white object.
Supplementary Figure S4 gives an impression of the edge colors as one sees them when looking at a light-dark edge through a prism. Formally the edge-colors are the colors of the accumulated radiant spectrum of the illuminant. Each contains all information present in the combination of the radiant spectrum of the source and the color matching functions. They wrap up all that is needed for object color colorimetry. Note that Ygreens and Ypurples are lacking. These are seen when you look at Ywhite (spectrum) or Yblack ("inverted spectrum") bars. Thus Goethe considered the Newtonian spectrum an artifact. Our formalism resolves the dilemma.
Both curves are helices of half a turn (Supplementary Figure  S3). Since they are made up of optimal colors, they run over the boundary of the color solid. Any optimal color is either K(λ 2 ) − K(λ 1 ) or W − [K(λ 2 ) − K(λ 1 )] if we take λ 2 > λ 1 . THEOREM 2 (optimal colors). All optimal colors are obtained as chords from one edge-color curve. Figure 4 shows the cool edge-color curve and the surface defined by its chords. This is one half of the boundary of the Schrödinger S [The other half is obtained by inverting on the gray point (in the figure), or by plotting the surface of chords of the warm edge-color curve.] This illustrates the relation between the edge-color curve(s) and S. It also shows that the boundary of the Schrödinger S comes as two, mutually congruent half-shells.

Spectral Bipartitions
If one cuts the spectrum at any wavelength, one has a bichromatic contrast, namely the accumulated spectral radiant power at the short wavelengths side, and the accumulated spectral radiant power at the long wavelengths side. Such bipartitions were explored by Schopenhauer (1816) in the early 19th century-before the advent of colorimetry. Some bipartitions turn out to be special (Supplementary Section S5). Schopenhauer did it by eye. Numerically one considers the chromatic power of the contrast in a meaningful coordinate system (We consider suitable reference frames in Section 4.3).
The largest overall chromatic contrast occurs for a cut at 529 nm. Then the parts are teal and orange. This is evidently the cool-warm contrast universally recognized by visual artists. We consider such cuts in more detail in Section 4.3.
Other special cuts are at 474 nm (blue-yellow) and 577 nm (turquoise-red)-and, trivially, black-white. Schopenhauer also considered spectral extents and would express the chromatic contrasts in terms of (simple!) ratios of spectral extents. From our perspective the latter makes little sense, although the singularity of certain cuts is indeed phenomenologically apparent (Supplementary Figure S5).
Schopenhauer mentions Schwarz-Weiß (black-white), Violet-Gelb (evidently blue-yellow), and Blau-Orange (clearly tealorange) (Supplementary Figure S6). He also has Grün-Roth, but mentions that the red is really a carmine, so he must indicate our green-purple. This needs two cuts, so it is really a tripartition (Section 4.2). Schopenhauer's eye-measure is clearly "explained" by our computations.
What is especially relevant here, is that the highly chromatic colors are all but "monochromatic." These colors have radiant power over large spectral ranges. This is a major step away from the Newtonian notions that still largely determine the understanding of philosophers of color. Color has very little to do with wavelengths. Teal and orange each scatter about half the equal energy spectrum. The best yellow scatters all wavelengths longer than about 474 nm, that is about the whole spectrum! This is an important insight that we will explore in this paper.

Spectral Tripartitions
A basis of color space involves three mutually independent colors (vectors) {A, B, C}, say, rooted at the origin O. The sum A + B + C is another color and so are the partial sums A + B, B + C and Since there is no metric, vectors cannot be compared with respect to length, nor are angles spanned by pairs of vectors comparable. However, there is one comparison that does make sense: INTUITION 1 (Volume-ratio is the invariant of color space). In a linear space the ratio of volumes is the only meaningful, quantitative comparison.
That is an irrelevant fact in generic (context free) colorimetry, simply because there are no volumetric regions to compare. It is the crux of object color formalism. In object color space the color solid provides a unique reference volume.
This suggests a unique crate, the crate of maximum volume inscribed into the color solid. Some geometrical requirements are obvious: the vectors are optimal colors, the tangent plane at the color solid at A must be parallel to the plane B ∧ C, one needs A + B + C W, and so forth. The vectors have to be defined by two spectrum cut loci λ 1 , λ 2 , say, so that A K(λ 1 ) − K(λ uv ), B K(λ 2 ) − K(λ 1 ), and C K(λ ir ) − K(λ 2 ). One needs the cutloci {λ 1 , λ 2 } that maximize the volume. Exhaustive search proves that the extremum is unique (Supplementary Figure S7). Of course, the location of the extremum depends (slightly) upon the radiant power spectrum of the illuminant.
This optimum spectral tripartition for average daylight (say) may well be the most important structure in the colorimetry of object colors.
Such spectral partitions were pioneered by Schopenhauer (1816), taking cues from Goethe. He identified certain parts as atomic "parts of white." Such parts are hugely different from Newton's "spectral atoms." The Schopenhauer "parts of white" cover broad spectral ranges, they are as different from the Newtonian atoms as conceptually possible. What they really are is spectrum bins: INTUITION 2 (RGB coordinates). RGB coordinates are coarse-grained spectral reflectance factors (Formalized below, Eqs. 4 and 5).
The maximum volume crate[R, G, B] offers the optimum way to parameterize the interior of the color solid in terms of three coordinates, optimum in the sense that the gamut with coordinate values in the range (0, 1) is maximized. The crate yields the best primaries for a conventional display unit [ Figure 5; Foley et al. (2005)]. This gamut is typical for generic displays. Industry has zoomed in on to the optimum by trial and error.
The colors of the crate vectors look Yred, Ygreen and Yblue. That is what users of display units call them (vastly outnumbering the vision scientists and philosophers taken together, who object vehemently to such practice on scientific-actually philosophical-grounds). So that is what we will call them in this paper. No excuses offered, although many philosophers are bound to complain.
"Color fictionalism" (Gatzia, 2010) conveniently enables one to discuss such tricky topics while holding on to objective science in which Ycolors are not object properties, but irrelevant mental paint (Gatzia, 2010). For academics that is surely a way to go (they don't do, dabble in concepts), but users couldn't care less (they do, dabble in actualities).
One has a "contraction map" Z: that maps spectra on RGB colors. One defines an "expansion map" \: that maps RGB colors on spectra. The rows of M RGB are the color matching functions, whereas the columns of M (−1) RGB (a variety of "generalized inverse") are the characteristic functions of the FIGURE 5 | Top: The relation between wavelengths and hue-angles is very non-uniform ( Figure 2). Whereas wavelength ranges from 0 to ∞, the angular range is a finite interval (400-700 nm say), the spectral range is really "limited." The red-green-blue tripartition roughly is a fairly even tripartition in the angular domain. The cut loci are 482 and 568 nm, dominant wavelengths 457, 530, and 597 nm, not unlike the so-called (rather vaguely defined) "unique hues" (Webster and Miyahara, 2000). Bottom left: The spectrum tripartition defines a gamut in the CIE-xy-chromaticity diagram. This triangular gamut shows the optimum display based on additive mixture of three fixed radiant sources (We use the CIE diagram here because of its familiarity, not because it is a particularly useful representation.) The colors are a fancy embellishment, they are literally transcribed from the RGB-coordinates as "pointers" to qualia. It makes the diagram look like ones encountered on the Internet. Bottom Right: The color matching functions for the optimum tripartition. These are just linear combinations of the cone fundamentals, very similar to the "sharpened" functions of Vazquez-Corral et al. (2012).
Note that a Moore-Penrose pseudo-inverse (Rao and Mitra, 1971) requires a metric. Its use by Cohen and Kappauf (Cohen and Kappauf, 1982) is unfortunate. 4 One obtains the same advantages using the present formalism. The product M (−1) RGB · M RGB maps spectra on their canonical representation. Repeating this will bring no further changes. Thus this product is an involution: (\Z) 2 \Z. It has trace three and is the identity on the subspace of canonical spectra.
The intuitive meaning of \Z is that it "strips the metameric fluff off spectra." That was the really nice (unfortunately wrong) notion of Cohen and Kappauf (Cohen and Kappauf, 1982). Stripping twice makes no difference. What is discarded by stripping is "metameric fluff" in N (Section 7).

The RGB Cube Metric
The optimum crate allows comparison of directions and magnitudes in color space. The parts have equal standing as "mutual parts of white" (Koenderink et al., 2018a;Koenderink et al., 2018b), and have disjunct spectral footprints. Geometrically, one treats the crate as the "unit cube" I 3 : PROPOSITION 1 (The RGB Unit Cube I 3 RGB ). The canonical description of the space of object colors is-by way of the maximum volume crate crate[R, G, B]-augmented by the Euclidean geometry to make it into the unit cube.
This metric has nothing to do with phenomenology, psychometrics, or eye measure. It derives from colorimetry, physical constraints and a conventional radiant source [E(λ) or average daylight serve fine.] Anyone can repeat this construction on a deserted island, starting from any set of color matching functions and will end up with the same result. This takes the arbitrariness out of (object color) colorimetry. Crutches (in our case CIE XYZ) can be discarded after reaching one's goal.
Note the close connection between colors and spectra. One denotes colors by coordinates, as RGB[90|50|10] (an Yorange), where the numbers 00 through 99 denote coordinates 0. through 0.99 ≈ 1 in the RGB cube. This color has spectral reflectance factor 0.1 over the range λ uv -λ 1 , 0.5 over the range λ 1 -λ 2 , and 0.9 over the range λ 2 -λ ir . Such a spectrum would indeed cause that color, but so would many others, a point addressed in Section 7. The close relation between spectra and colors (the Z, \ operators) is unique to object colors.
Supplementary Figure S4 shows an impression of the "edge spectra," seen when looking through a prism at any light-dark edge. Unlike the spectrum, the edge spectra are really bright, Goethe's major point against Newton.
We use an alternative orthonormal frame in C RGB defined as For the moment, note that h 1 is the "achromatic direction," that is the direction of white, whereas the h 2 ∧ h 3 -plane is spanned by purely chromatic dimensions (To be explained later, see Section 5). Supplementary Figure S9 shows the corresponding "opponent color channels." Supplementary Figure  The relation between wavelengths and geometry is seen in a view from the achromatic direction ( Figure 2). Spectrum cone generators are labeled by wavelength, but can also be measured by angle in the h 2 ∧ h 3 -plane. It is preferable to use the angle metric and consider the wavelengths as arbitrary labels. The relation of complementarity is trivial in the geometry (a diametrical relation, or a 180 + shift), but is a complicated, non-linear function in terms of wavelengths (one reason why wavelengths are best regarded as arbitrary labels). The latter relation finds no explanation in the physics of radiation, whereas the former is trivial (but important) in the formal theory of object colors.
Another example of the use of the angle metric is to consider the rate of change of angle of the cone generators with wavelength (Supplementary Figure S11). The relation is nonlinear, with sudden spurts at Yyellow (RGB[99|99|00]) and Yturquoise (RGB[00|99|99]). This is visually apparent when you look at the daylight spectrum through a spectroscope. Especially the yellow region looks very narrow. These regions are also apparent in the classical wavelength discrimination curves (Wyszecki and Stiles, 1967;Zhaoping et al., 2011). One discriminates a few nanometers near 570 nm, but several times more near 530 nm. Near the spectrum limits the discrimination deterioriates completely.

The Semi-chromes, or Full Colors
One uses "dominant wavelength" for the label of a spectrum generator coplanar with the achromatic direction and the color, such that the color is in between. It may or may not exist. Empirically, the dominant wavelength labels may double as Yhue labels.
Among colors of a dominant wavelength, some Ytints are Yoff-whites and some Yshades are close to Yblack.
In terms of optimal colors, all are (roughly) centered on the same spectrum generator, but they come in various spectral widths. Tints may scatter most of the source spectrum, whereas shades may scatter only a narrow region. Figure 6 shows the example for a dominant wavelength of 530 nm, which appears Ygreen. It covers colors from RGB[00|01|01] (almost Yblack) over RGB[00|99|00] (as Ygreen as it gets) to RGB[98|99|98] (almost Ywhite). The Newtonian "best green" (as monochromatic as possible) looks Yblack. The "best" green is an Ostwald semichrome that is all but "monochromatic," but scatters a major part of the spectrum. So much for the "color as seeing by wavelength" notion still popular with some philosophers [physical realists; Byrne and Hilbert (2003)]. The confusion of "dominant wavelengths" with physical (pseudo-)monochromatic beams is nonsensical, but-perhaps unfortunately-common in the literature.
The best color is defined through maximum chromatic content. It has band limits at mutually complementary wavelengths. This is because one adds white when the band width is slightly broadened, whereas one adds black (in the sense of removing white) on narrowing it-always keeping the dominant wavelength fixed. Adding white dilutes the color into a tint, adding black dims the color into a shade.
Because of the complementary band limits, the best colors were denoted "semichromes" by Ostwald. But because they are the "best colors" in the sense of maximum chromatic content he also used the term "full colors" (G., Vollfarben). Empirical semichromes indeed look highly colored, but-especially in the red-some shades actually look a tad Yredder than the red semichromes. So "semichrome" is the preferred term for what indeed are special ("full") colors.
The semichrome locus geometrically (Supplementary Section S6; Supplementary Figure S12) appears as the "equator" of the color solid in that a circumscribed cylinder with generators parallel to h 1 touches the solid along the semichrome locus.
Supplementary Figure S14 shows the achromatic content of the semichromes. It is evident that certain colors are special. We call them "cardinal colors" for that reason. These are close to the chromatic vertices of the crate (Supplementary Figure S27). They evidently come in two types: • The "primary" cardinal colors correspond to the parts of the tripartition of white. They look Yred, Ygreen and Yblue, or RGB; • The "secondary" cardinal colors correspond to the unions of pairs of the tripartition of white. They look Yturquoise, Ypurple and Yyellow (Preferred technical terms are cyan, magenta and yellow, or CMY.) Supplementary Figure S14 right illustrates the relation of the semichrome locus to the I 3 RGB . The curve evidently hugs the R-Y-G-C-B-M-R-edge progression. The RGB cube is a good "summary" of the Schrödinger color solid.
Semichromes come in a periodic sequence that includes the "extra-spectral" Ypurple. A theory of object colors enforces this. In the colorimetry of radiant beams purple is an inconvenient oddity. Newton never understood why he didn't (honestly speaking) see it in the spectrum. His "color circle" (Newton, 1704) was an obvious kludge. The nature of purple was finally cleared up empirically by Helmholtz (Helmholtz, 1855) in the mid 19th century, formally in the early 20th century by Ostwald and Schrödinger.

THE OSTWALD HEURISTIC
Wilhelm Ostwald was a chemist (Nobel Prize 1909 on catalysis) who worked on color after his retirement. His color system dominated in education and industry in continental Europe before WW-II. It has features that are sorely missed in modern accounts, as well as some that need to be amended. Various features are easily included in the formal colorimetry of object colors. A convenient technical and critical account is Bouma (1946).
What is especially valuable is the close connection between object colors and reflectance spectra. The Ostwald system focusses on colors as object properties. It depends on physical measurement. 5 It is ontologically distinct from eye-measure systems such as that of Munsell (1905). Perhaps unfortunately, FIGURE 6 | Example of a section of the color solid through the spectrum generator labeled 530 nm (left figure). There is no complementary wavelength. Optimal colors of that type tend to look Ygreen although some are Ygreener than others. The differences are due to the spectral width of the optimal color pass band (center figure). At right are the computed colors. Indeed, all are Ygreenish, but some are extreme Ytints or Yshades of Ygreen.
conventional colorimetry fails to recognize this ontological chasm.
One basic intuition is illustrated in Figure 7. It concerns the relation of the color circle (the periodic set of Yhues) to the spectral reflectance factor. The "average daylight" source went understood. We show it as a circular slide rule. The fixed disk is simply our Figure 2, a representation of the spectrum calibrated for human vision. The rotating disk selects one half of the spectrum, that is a semichrome. The two red arrows indicate the pass band limits. The central blue arrow is Ostwald's intuition: It indicates the dominant wavelength of the semichrome. Note the yellow indicator at the opposite position, it indicates the complementary dominant wavelength of the semichrome. The latter is required when the blue indicator is in the sector of purples. For one thing, this reveals the fundamental reason why the spectrum (a topological linear segment) gives rise to a "color wheel" (a topological circle). In Ostwald's perspective it is a natural consequence, other "explanations" we know of are essentially arbitrary kludges.
Does it work (Supplementary Section S8)? This requires explicit calculation, which Ostwald does not provide. He used an inverted spectroscope-an excellent idea, perhaps picked up when reading Maxwell (1855) on the "color box." He could select parts of daylight and look at arbitrary optimal colors. We know few modern color scientists who ever had that opportunity. Electronic display is no alternative. What he saw convinced Ostwald that the intuition applied. We won't call him wrong-just somewhat sloppy, perhaps "visionary" is the word.
Our calculation is presented in Figure 8 (a more conventional representation of the same structure is Supplementary Figure  S13). It is a pity Bouma (1946) doesn't show it. We are not aware of a depiction in the 1920's literature; to many scientists at that time it would have looked familiar. The intuition is not perfect, but the deviation is zero at twelve hue angles, whereas the standard deviation of errors in the hue angles is 8.6 + . It serves well as a heuristic-even today.
Note that there are four distinct types of semichromes. This is most easily understood by using the slide rule to check when the pass band meets the spectrum limits at either side. These types are the essentially different families of spectral reflectance factors, thus important qualitative object properties: FIGURE 7 | This is perhaps the most attractive of Ostwald's intuitions. The idea is that you cut out the disks and put the right one on top, on a common axis. You then have a circular slide rule that relates the dominant wavelength and spectral passband limits for the full colors.  Figure 6); short pass bands These look Ytealish.
The medium pass and stop band cases are ecologically rare, the long pass bands are common with organic colors (Supplementary Section S12).
There are four basic families, not three or six, as one might intuit on the basis of tripartition. This is due to the closure of the spectrum by way of the sector of purples. Ostwald's construction is the unique formal explanation of the "color circle," long familiar to artists on purely phenomenological grounds. Ostwald's construction comes from the tripartite structure of white augmented with closure of purples. A close look will reveal the four families.
The families come in two mutually complementary types, the medium stop and pass bands ( Ypurple-and-green group), and the short and long pass bands (Yteal-and-orange group). Due to ecological factors (Supplementary Section S12) the Yteal-and-orange group is at least thrice as common as the Ypurple-and-green group. Teal-orange is known as the "coolwarm" dimension in the visual arts (Quiller, 1989). The Ypurple-and-green group is rarely named explicitly. It appears prominently in experimental phenomenological research (Albertazzi et al., 2015).
The reason why the Hering basis is of great importance is not so much its phenomenological origin, as the fact that it effectively decorrelates spectral reflectance factors [ (Buchsbaum and Gottschalk, 1983); Supplementary Section S12].
For many applications the Hering basis is more appropriate than the RGB tripartition. A good example is the chromaticity diagram. It is possible to base a conventional chromaticity diagram on the tripartition (we use that later), but an orthographic projection along the h 1 direction on the h 2 ∧h 3 -plane yields a far more intuitive representation (Figure 9).
It is of some interest to compare the CIE-xy diagram with the orthographic projection. Both are projections of the same objects. The generators of the spectrum cone are infinite half-lines that are based at the origin. In the CIE diagram they appear as points of a curve, the direction image in the plane at infinity. In the orthographic projection the cone generators appear as rays radiating from the origin. Thus a wavelength is indicated by a direction, or half-line. The best colors are found near the semichrome locus in both diagrams.
In the CIE diagram, the spectral locus corresponds to the black object colors. There is no metric and there are no affine notions like bisection of stretches or parallelity. Only coincidence and collinearity is meaningful (if you know how to interpret these). In contradistinction, in the orthographic projection affine relations count, one even has a Euclidean metric.
In the CIE diagram, a point stands for a color of arbitrary intensity. In the orthographic projection a point stands for a color of arbitrary black-white content. Figure 10 illustrates an example that clearly shows the power in the structure of the chromaticity diagram in Figure 9. It can be used to compute the diagram of Supplementary Figure S13 or that of Figure 6. Such nomographic calculations were common pre-WW-II. Nowadays one uses straight number-crunching. Figure 10 shows one reason why the proposed chromaticity FIGURE 9 | The "chromaticity diagram" introduced in this figure is a view of the color solid from ∞ along the KW-Hering axis. A complete graphical representation adds views along the TO-and GP-Hering axes. The "teal-orange view" is a projection in the green-purple direction on the KW-TO-plane, the "green-purple view" is a projection in the teal-orange direction on the KW-PG-plane. These views explicitly depict chromaticity, spectral slope and spectral curvature modulations. Indicated are the RGB-cube, the cool and warm edge colors (blue and red), the semichromes (brown) and the teal (RGB[00|50|99]), orange (RGB[99|50|00]), green (RGB[25|99|25]) and purple (RGB[75|00|75]) locations (In actual use one may leave out such landmarks for the sake of clarity.) This may well be the preferred format for object colors. It beats CIE-XY or CIE-LAB (both in common use, even for object colors) because of the close relation to spectral representations. diagram ( Figure 9) makes sense. Understanding the structure of the chromaticity diagram well yields a lot of power. Moreover, it ensures that one keeps a clear view of the relations between the various colorimetric objects. Such uses were common in the precomputer era.
Supplementary Figure S21 summarizes much of the structure. Note the close relation between edge-colors and semichromes, as well as the explicit relation between the semichrome colors and their spectrum. This is all about broadband spectra, the"monochromatic beams" are degraded to mere wavelength calibration in the background.
The object color chromaticity diagram of Figure 9 is much less intuitive for additive mixture (although it can be done) than the conventional chromaticity diagram. This is no big deal, because there is (except for very unlikely settings) no such a thing as the additive mixture of object properties.
In the case of object colors mixture mostly implies union and intersection of characteristic functions, or multiplicative combinations. The chromaticity diagram is well suited for that, since the spectral range is shown in the background.
The main thing to mind is that semichromes are not at all "monochromatic," but actually scatter half of the source spectrum. Combining object colors should always be understood as an operation on spectra, not colors. This twoway relation between the semichromes (points) and band limits (diagonal lines) is a conjugation relation that should always be kept in mind when using the chromaticity diagram.
The chromaticity diagram is less symmetrical than it might seem (Supplementary Section S6). This is intuitively evident from the fact that the color solid at the black and white points has the shape of the spectrum cone. Near the white point you see basically the shape (Supplementary Figure S12) of the boundary of the planar cut of the spectrum cone illustrated in Figure 1 right.
The "chromaticity diagram" introduced in Figure 9 left is actually a view of the color solid from ∞ along the Black-White (KW) Hering axis. A complete graphical representation add views along the Teal-Orange (TO) and Green-Purple (GP) Hering axes (Figure 9). This yields a complete representation of a gamut of object colors.
For beam colors the classical chromaticity diagram makes sense, because intensities may run all the way from 0 to ∞, whereas it often makes little sense to note intensities. For instance, a "monochromatic beam" for a wavelength λ 0 will be a spectrum like It has a power IΔλ and an intensity I. The spectral width Δλ ∈ R + may be chosen arbitrarily. As long it is small, its actual value is irrelevant. Thus the intensity is essentially undefined ("∞"), but the chromaticity is well defined. Thus chromaticity diagrams are always useful, but 3D-color space plots often are not. This is very different for objects colors, which have well defined positions in the color solid. Here chromaticity alone leaves out crucial information. That is why the representation that uses three canonical views of the color solid is preferable. The orthographic projection orthogonal to the KW-axis is like a chromaticity diagram. The projections on the KW-TO and KW-GP planes complement that in a useful way. One treats these as three orthogonal views of a 3 D-object. 6 This is far more useful than conventional chromaticity plots. The link to spectral composition is as close as can be.

Ostwald's Color, White and Black Contents
Wilhelm Oswald proposed a canonical spectral reflectance for any color as the appropriate partitive combination of a semichrome, the standard white, and the standard black. Then any color is parameterized by way of: hue that is "which" color. One naturally uses something like the angle parameter; color content that is the attenuation factor for the semichrome, the "color content"; white content that is the addition of a constant, subject to the constraint that the total reflectance factor may not exceed one; black content which is simply one minus the sum of the attenuation factor and the white content.
What is special as compared with other systems is that colors come with a unique canonical spectral reflectance factor.
Color content, white content and black content sum to unity. For any hue one has a variety of choices, neatly parameterized by the content in a triangular, barycentric scheme. These became the pages (each hue a page) of the Ostwald atlas ( Figure 11).
Ostwald (Ostwald, 1917a;Ostwald, 1917b) actually constructed and published implementations. Although objects of rare beauty, they are only approximations. It was the best a top-notch chemist as Ostwald could do with actual pigments. In contradistinction, the "true" atlas is a formal object, not a physical thing. Today, anyone can easily program it on an electronic display. Various industrial designs of "color pickers" essentially implement it.
The Munsell (1905) atlas is today's de facto standard. It is due to eye-measure, not physics. There is no relation to object properties and there is no fundamental formal structure. It cannot be constructed from first principles.
There is room for both ontologically distinct types. The real miracle is that the atlases are remarkably similar. Unfortunately, this is also a reason why the ontological roots tend to be ignored. This "miracle" is another manifestation of the efficaciousness of the sharp map Ψ (Eq. 1).
The Ostwald description was reinvented by Alvy Ray Smith (Smith and Lyons, 1996), of early CG fame. It is the HWB color system. Starting with RGB[r g b] one defines the white content as min(r, g, b), the black content as 1 − max(r, g, b), which then automatically defines the color content as the remainder. For the hue one uses the distance along the edge progression of cardinal colors. This is very convenient and yields an immediate insight in the structure of the canonical spectrum. HWB actually resurrects the Ostwald system (in CG digital form), although nobody notices (not even Smith).

An Ostwald Basis
The Ostwald system uses an over-complete, continuous basis (Supplementary Section S9). Thus it is really different from the FIGURE 11 | A computed page of the Ostwald atlas. The chips interpolate between the semichrome ("full color"), black and white. Mixtures with white are "tints," mixtures with black are "shades." Mixtures that include both black and white tend to appear muddy. The idea is that the set of all pages fills out the color solid, thus represents all object colors. The shape of the triangle is arbitrarily taken equilateral.
The set of all optimal colors is a continuous basis that captures all colors. In principle such a system is impossible to beat, in practice its implementation would be a nightmare.

Canonical Spectra
We have mentioned various "canonical spectra": parts of white constant reflectance factor over the spectral parts of white, produced from an RGB color through the expansion map, Eq. 5; Ostwald system an attenuated semichrome, diluted with white; attenuated or diluted optimal color one might say the attenuated optimal color is Schrödinger's proposition.
A diluted optimal color (mixture with gray) as mentioned above is a similar notion.
In typical cases, such canonical spectra yield quite good approximations to the actual spectrum (Supplementary Section S7; Supplementary Figure S16).
We show a few examples, using a flower color as example. Tropaeolum majus is cultivated for its Ybright orange flowers. In Figure 13 we show its spectral reflectance factor as compared to the tripartite and Ostwald semichrome canonical spectra. Both canonical spectra are useful for many applications, but-by design-they are different. The difference matters "when the light changes" (Section 6.1).

The Topology of "Subtractive Color Mixture"
One usually distinguishes "additive" and "subtractive" color mixture, although there are numerous ways to combine spectrally selective scattering. Additive mixture is rarely of interest in the theory of object colors. It is fairly trivial, the main result being that the gamut of beams is confined to the convex hull of the monochromatic beams.
"Subtractive" is actually a misnomer of "multiplicative." In some circumstances multiplicative combinations of spectral reflectance factors are excellent descriptions, in some cases mere serviceable approximations. It is important to understand the ideal case as a point of departure.
In the additive case it makes no difference whether one adds spectra or colors. In the multiplicative case one has to multiply the spectra. Canonical spectra make a good start. Deviations from canonical may have surprising effects (Section 7.1).
In the cases of the tripartite canonical spectra one may actually multiply the color coordinates, so this is an especially simple case. One has a map of the product of the color circle with itself to the color circle, that means a map from T 2 1S 1 (Figure 14; Supplementary Section S3). Intuitive grasp implies having the torus in mind.
As said, deviations from the canonical spectrum may have non-trivial influences. Differences in the source spectrum may have non-trivial consequences too. That is because the proximal stimulus is the product of the source spectrum and the object spectral reflectance factor (Section 7.1).

VARIATION OF THE SOURCE AND AUTOMATIC WHITE BALANCE (AWB)
So far, we have fixed the source to E(λ). As argued below, this is a good (ecologically relevant) starting point. However, in real life the radiant umwelt may vary greatly. The human observer copes with that and so do modern smart-phone cameras. Object color colorimetry is incomplete without AWB.
FIGURE 12 | At left the CIE-xy-chromaticity diagram, with the gamuts of the tripartition and of the Ostwald semichrome basis. The black triangle shows the outline of the RGB cube. The red line indicates the semichrome locus. Note how the outlines mutually intersect. At right the CIE diagram with colors of the optimal color coloring. The "best" colors are located near the semichrome locus, the central location is white, the spectral boundary and the line of purples are black. That is because the boundary of the diagram is the image of the origin of color space.

Automatic White Balance
Many electronic cameras use a dedicated sensor to estimate the spectral slope (and perhaps the spectral curvature) of the source spectrum. Even mid-level cameras allow users to enter corrections for both slope and curvature. This allows AWB with optional manual correction. Ideally white objects in the scene will be represented as white in the picture.
AWB can be implemented colorimetrically by a scaling in RGB-space such as to force a spectrum of certain spectral slope and curvature to map on RGB[99|99|99]. The human visual system apparently does something like this (Kries, 1905), given the observation that white objects will stubbornly appear Ywhite whatever the luminous environment. In the right settings the white object will look Ywhite and the black object will look Yblack, whatever the source spectrum.
We do not consider phenomenology, psychology, or physiology, but simply pursue the effects of AWB. "Proper context" serves to indicate ecological limits. Out-of-limits anything goes and "color vision is impossible" [for a proof ]. Analytic philosophers who will not accept ecological constraints conclude that colors are mere mental paint or that one only pretends to experience them. Many of such ideas are "right" in the sense of not being wrong, but in ways that are irrelevant if one is out alone in the cold. But that is where all biological agents are, including Homo.
The most basic constraint for an effective AWB is that the white standard should look Ywhite under any source spectrum. Ideally, one requires Here Ξ S is a linear functional that maps spectral reflectance factors R(λ) to colors, a bit like the contraction map. Thus we define (with an example): where P denotes the space of spectral reflectance factors [letting "P" stand for (object) Properties] and R TropaeolumMajus denotes the flower reflectance presented in Figure 13. For the matrix M RGB one uses the RGB color matching functions, so one maps object properties on RGB colors and thus (fingers crossed) on seen Ycolors.
It is the denominator that implements AWB. Note that one does not need the source spectrum for that, the color of the FIGURE 13 | The Tropaeolum majus is also known as Indian cress. It is mainly valued for its brilliant orange or red flowers. Here the spectral reflectance factor is approximated by the canonical RGB-reflectance and the Ostwald attenuated and diluted full color spectrum. Both are quite good approximations. All three spectra yield exactly the same color.
FIGURE 14 | Subtractive color mixture is a map S 1 × S 1 1S 1 (or from T 2 1S 1 ). The color circle is on the diagonal (the dashed white line at left) but the overall topology is hardly intuitive [What people root-learn at elementary school is "blue (actually cyan) and yellow yields green," and so forth.] For instance, at right, like the green, the red is also a full square. The right figure shows the parameter plane. Both coordinates run over the circle (0 − 2π, that is red to red). Thus the left side is connected to the right side and the bottom to the top.
white standard suffices and that is available from observation.
The Ξ S -map implements the (object property 1 color)-relation. "Colors as object properties" involves some generalized inverse of Ψ+Ξ S , which is not a trivial issue. We pick up that topic in Section 7.
In this ideal system the white standard will look white under any source. So does (trivially!) the black standard. Because of linearity the whole gray axis remains invariant. Chromatic colors in general change, because the proximal stimulus is the coarse-grained product of the object property and the source spectrum.
That is why featureless source spectra are best. They leave the floor to the object properties so to speak. Source spectra with spectral gaps are effectively useless. Examples include low pressure sodium or mercury vapor lamps.
Some rules of thumb relating to the effects of slope and curvature in source and reflectance are frequently useful, like in "relighting" applications (Debevec, 2020).
INTUITION 3 (Metameric effects of spectral slope and curvature). These are some useful rules of thumb to keep in mind: • judge the effect for each of the three parts of white separately.
For global effects look at the levels instead; • the effect scales with the product of the slope of the source and of the reflectance spectrum, including sign; • slope and curvature do not interact; • the effect of curvature is mainly due to reflectance, it scales linearly (including sign); • higher order wriggles may safely be ignored since the spectral envelope modulation falls off by the fourth power of frequency.
In most cases one will be able to foresee effects of metamerism quite easily using the hexapartition of white (Section 7). With some experience even quantitative estimates can be made.
Fairly extreme cases are shown in Figure 16 and more in Supplementary Section S13. These examples cover about the range relevant to generic human vision. Notice that AWB is evidently not perfect, but amply good enough for the early hominin hunter-gatherer life style.

METAMERISM
The spectrum that hits the eye is the product of the spectral reflectance factor (the "object property"), and the spectrum of the source (the "context"). Since human vision only selects three dimensions out of R ∞ , there can be infinitely many spectral reflectances and sources that have mutually identical canonical RGB spectra. The multiplication plays havoc with that. We consider a simple (arguably the simplest) model that captures the bulk of such effects but still leaves room for intuition and simple numerical simulations.
Split each of the three spectrum parts into two. One may use an arc-length rectification of the edge-color curves to find suitable cut loci. This refines the tripartition of white into a hexapartition. This six-dimensional spectral representation has a three-dimensional null-space, a subspace of N. For convenience, we construct a basis for the null space that is as close to Such a basis is readily constructed (Supplementary Section S14; Supplementary Figure S16 right).
FIGURE 15 | At left a gamut of source colors. Spectral slope and curvature are drawn from mutually independent normal distributions. We plot in the conventional chromaticity diagram (though RGB, not the CIE-xy) because these are beam colors. At right 75% confusion ellipses in the orthographic chromaticity diagram, computed for a large database of pigments. Most of the confusion is (roughly) in the purple-green. Because the reflectance spectra are arbitrary, the pattern of ellipses has a chaotic pattern. This is a very wide gamut of sources, so the conclusion is that AWB does a good job of correcting for source variations.
This "hex-basis" may be deployed in many applications. Intuitively, it renders the parts of white sensitive to spectral slope. In that sense, it may be understood as a first order extension of the tripartite system. Further subdivision yields an even better approximation, but only marginally so. The simple hexa-chromatic model easily captures the brunt of the action.
Canonical hex-spectra necessitate constraints due to the overcomplete basis. Either a maximum entropy "smoothest" approximation or a minimax fit associates any RGB-color with a unique hex-spectrum (Supplementary Section S10). These tend to be excellent approximations of natural spectra ( Figure 17; Supplementary Figure S16 right).
Maximum entropy approximations of spectral reflectance factors can be computed on the basis of the RGB color coordinates. If one has an actual spectrum, one may also compute the hex-representation of the true spectrum. For databases of reflectance spectra of various natural objects one finds that the estimations on the basis of colors are very close to veridical. The reason is, no doubt, that natural spectra do not show wild variations over the visual range. Indeed, the estimates are so good that hyperspectral methods might well be overkill for many applications, including effects of metamerism (Koenderink and van Doorn, 2017).
Metamers of E(λ) involve arbitrary amounts of the black components. In the worst case spectral radiance will fall to zero in at least one of the six parts. Such metameric sources are not revealed by the white standard. Phenomenologically, they all provide Ywhite light. We prepare twenty-six (all triples of {−1, 0, +1}, except {0, 0, 0}, thus (3 3 − 1)) of such fake standard sources.
Metamers of the flat central gray reflectance factor, involve arbitrary amounts of the black components. In the worst case the spectral reflectance will be zero or one in at least one of the six parts. Such metameric reflectance factors are not revealed by the standard source. Phenomenologically, they all are Ycentral gray. We prepare twenty-six (3 3 − 1) of such fake standard gray objects.
Viewing all fake objects under all fake sources yields 676 (26 2 ) (worst case!) colors. Only 30 of these lie on the convex hull, which is surprisingly large. It has a volume of 0.83 . . .. The vertices of the convex hull are shown in Figure 18; Supplementary Section S14; Supplementary Figures S38-S41.
The result should give ample food for thought. Suppose you are a magician, then this would make a great act: You show a gray object next to a white standard. It looks Ygray. You switch the source and the object to one of the fakes (a sleight of hand routine). The white will remain Ywhite, but the object may FIGURE 16 | The color solid of a black body radiator-with AWB switched off-compared with the color solid for the equal energy spectrum. As an arbitrary scaling (this allows visual comparison) we let the former fit snugly in the latter. At left a "cool" source (3000 + K, very red), at right a "hot" source (12 000 + K, very blue). The differences are major, although AWB will handle most (Supplementary Section S11).
FIGURE 17 | The hex-partition yields an even better approximation to the spectrum than the tri-partition. Here we show a maximum entropy spectrum at left and a minimax spectrum at right (Supplementary Section S10). Of course, one may construct infinitely many metameric versions. become any Ycolor. Your audience will marvell! Indeed, they should, for it is impossible to foresee such effects by using one's senses.
So what is "the color of the object" then? It evidently "has none." This is the reason people say that "colors are not object properties." Colors cannot be labels for objects, for given two objects of different colors (red roses and blue violets, say), you may imagine a world with fake objects and sources in which roses turn blue and violets red for no apparent reason. If you are a hunter-gatherer you cannot depend on the experience that blue berries are good to eat whereas red berries will give you a belly ache. Color is useless and one wonders why evolution ever bothered.
Of course, one knows better, for color works pretty well in daily life. Reason is that the fake cases are very rare: • the visual range is so narrow that spectral radiant power or spectral reflectance do not wildly vary over the range. The correlation range is at least of the order of the width itself. Spectra of any kind are smooth; • there are no physical processes that let spectral radiant power and spectral reflectance be mutually correlated. Surprises will be extremely rare.
The correlation issue is crucial, for the metameric effect depends on it. The multiplicative process in surface scattering, followed by an averaging by retinal absorption, is just a kind of correlation mechanism. Supplementary Figure S40 demonstrates this.
In a simple simulation one prepares random combinations of the metameric blacks to produce slightly perturbed radiant and reflectance spectra (Figure 19, based on a million samples). The distribution is highly kurtotic (Supplementary Section S16), thus something like the convex hull is not a useful measure. Suppose we compute the 99% covariance ellipsoids.
Their size depends on the magnitude of the perturbation used in computing the fakes. Use a normal deviate with standard deviation σ to perturb the source spectrum (1.0 throughout the spectrum) and the object spectral reflectance factor (0.5 throughout the spectrum). Then the volume of the ellipsoid is proportional to σ 6 [two factors-spectral reflectance factor and source radiant power spectrum-each factor having three (trichromacy!) degrees of freedom].
From the simulation we find 0.259σ 6 . For ecologically acceptable values of σ (say 20-30%) one finds that there is room to distinguish a thousand objects. Such would serve the hunter-gatherer existence, thus there will be an evolutionary drive.

Metamerism and Multiplicative Mixture
When mixing stuffs characterized by canonical RGB spectra one obtains unique results. One has a well defined map T 2 1S 1 . Metamerism changes this essentially (Supplementary Figure S41).
The figure shows the worst case expectation for mixtures of gray with gray, observed under the standard source E(λ). Since the spread is going to be less for more chromatic colors (the optimal colors are not affected at all, Figure 18), there is still ample room for a few dozen or more colors that will not be confused. Because we show effects for the most extreme metamers and moreover include results for very special combinations, the result in the generic environment will be much less.
FIGURE 18 | Metameric confusion regions are space variant (Note that the optimal colors are not affected at all.) This is a simplified sketch of what happens. Near the faces of the RGB cube the confusion region flattens, near the edges they become needle-shaped, near the vertices (optimal colors) they become arbitrarily small spheres.
FIGURE 19 | This shows samples from colors due to perturbation of the standard source E(λ) and the canonical gray reflectance with random, isotrotopic combinations of the six blacks. The distribution is highly kurtotic (Supplemetary Section S16) and non-isotropic. The blue ellipsoid is the 99% covariance ellipsoid.
Frontiers in Computer Science | www.frontiersin.org April 2021 | Volume 3 | Article 630370 So artists may use their understanding of the deterministic map T 2 1S 1 , based on seen Ycolors with some chance of success. However, they need to reckon with unforeseeable minor deviations. In practice, painters tend to remember the mixture properties of pairs of paints, that is to say, the stuff of the paints, not the Ycolors. This is a rare example where the fact that colors are not always good indicators of object properties matters.

CONCLUSION
Spectral object properties, in relation to human vision, call for a formal "object color colorimetry". It builds on generic (nullcontext) colorimetry. It is highly structured due to three factors.
One is a dedicated source spectrum (average daylight, sunlight, . . . ), another is basic constraints of physics, the third are various ecological constraints. Due to these, object color colorimetry is qualitatively different from null-context colorimetry.
Ignoring this, and treating object colors by way of null-context colorimetry necessitates arbitrary constraints and has led to considerable confusion. 7 The geometrical structure of object colorimetry is the proper basis for color vision research, fundamental computer vision and image science.
Chromatic contrast is certainly an aid to optical navigation, space perception and so forth, but this is not to be reckoned proper "color vision." Color vision implies qualia, the use of chromatic spectral structure as an intentional mark, or cue. The cues for many important physicochemical object properties are spectral. This renders the chromatic qualia important to human biological fitness.
The ecologically relevant variations due to metamerism, both in source spectra and spectral reflectance functions of generic objects, dwarf psychophysical thresholds and physiological constraints (Supplementary Sections S14, S15). Color vision as a way to sense object properties is not limited by the physiology. In contradistinction, color as a spatial discrimination device may well run into physiological limits, but does not recognize color as a quale. "Color vision" proper is about object colors as object properties.
The key difference between object color colorimetry and nullcontext colorimetry is the close connection between (coarse-grained and AWB'd) spectral reflectance functions and experienced Ycolors. That is the concatenation Ψ+Ξ S of the Ξ S -map (Eq. 7) and the sharp map (Eq. 1). This applies especially to ecologically generic cases. In perception one deploys a generalized inverse (Ψ+Ξ S ) (− 1) . The formal existence is questionable, but there is no doubt of its efficacy in biologically relevant settings.
There are two mutually opposing perspectives on this (Byrne and Hilbert, 2003). One perspective is that ecology has nothing to do with what is the case in the physical world at large (often called "reality"). The upshot is that colors are a quirk of the human mind. They hold no relation to object properties at all. This drives one to fictionalism. Neither are roses red, nor violets blue, but we all politely pretend (Gatzia, 2010).
Another perspective is that the ecological parameters drive evolutionary processes. Color is indeed useful in the human life world. In this context roses indeed ARE red and violets ARE blue. Colors are pretty good cues to object properties, at least, as far as the evolution of the human species is concerned.
The former perspective is correct, but irrelevant. The latter conclusion is strictly spoken false, but happens to capture the human condition. It is the biological perspective. The one that counts. Surprises should be reckoned with, but should be rare. An individual failing to cope may die. No big deal if such is a rare event.
This is also of importance to computer vision and image science. The ecological statistics have driven the evolution of human color vision. These statistics also offer constraints (Supplementary Sections S11-S14) that may well be exploited by computer vision (Koenderink and van Doorn, 2017;. In the RGB account, especially when augmented by the hexapartition of white, most two-way relations between colors and spectra become intuitive. The RGB colorimetric coordinates are coarse-grained spectral reflectance factors (the Z-map, equation Eq. 4). In most cases the expansion (\ map) is a heuristic towards spectral reflectance factors. Of course, the sharp map is usually a necessary bridge (Supplementary Section S2) (Object) colorimetry makes no sense without it.
That is why the tripartite representation is the natural geometry for object color space. The basic formalism presented in this paper serves as the proper base of departure for many applications [Supplementary Sections S12, S14, S17 and (Koenderink and van Doorn, 2017;].

DATA AVAILABILITY STATEMENT
The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author.