Chromaticity diagrams are maps of color that ignore brightness. They plot color in terms of ratios between the three tristimulus values. On such a map, spectral colors lie along a curved boundary, the spectral locus. The line connecting the longest and shortest wavelengths closes the shape and is called the line of purples. Your display’s gamut forms a polygon inside the boundary. Points within the polygon are achievable. Points outside are not. While these diagrams are useful for engineering, they do not align perfectly with how different colors seem equally different. Perceptually uniform spaces try to solve that.
A perceptually uniform space uses mathematical transforms to create axes where equal steps correspond more closely to equal perceived differences. Common spaces include one called lightness, a red green axis, and a yellow blue axis. In such a space, you can compute distances between two colors that predict how noticeable the difference will be. Color difference formulas allow quality control in industries from paint to textiles. If two batches of fabric are within a certain threshold in the uniform space, most customers will judge them as matching.
Perception adds its own metrics beyond physical measures. We feel that brightness changes in a nonlinear way with light intensity. Doubling the number of photons does not double the sense of brightness. The same holds for color saturation. As colors get close to the spectral extremes, small changes can feel large. These psychophysical scaling laws reflect the encoding strategies of the visual system. They also inform practical tools such as gamma correction on displays. A display applies a nonlinear transform so that midtones look right to our eyes. Cameras sometimes apply a complementary transform so that captured images look natural on screens. Behind these choices lies a fact about biology. Neurons have limited firing ranges and adapt to the most informative parts of their input ranges, creating a compressed code.
Adaptation is continuous. Stare at a colorful pattern and then look away, and you may see an afterimage in complementary hues. This arises because prolonged stimulation temporarily reduces the sensitivity of certain channels. When you look at a neutral scene afterward, the balance of activity shifts, and you experience a tilt in the opposite direction. This is not a bug. Adaptation expands the usable dynamic range of the system and improves discrimination around the current operating point. Photoreceptors adapt. Opponent channels adapt. Even cortex adapts based on context.
Context affects color at larger scales. A gray patch can look lighter or darker depending on its surround. A yellow ring can make a central neutral patch look bluish. Such induction effects reflect lateral interactions in the retina and cortex as well as inferences about illumination. Your brain constantly tries to assign the observed light to either the surface or the light source. If the surround suggests a bluish illumination, your brain attributes some of the blueness to the light rather than to the surface and neutralizes it. This helps maintain stable object colors in varied environments.
Edges matter. The visual system emphasizes boundaries where reflectance changes. Mach bands, the illusory light and dark lines near a gradient, reveal a tendency to enhance contrast. Similar mechanisms influence color boundaries. The experience of color often clings to regions defined by edges rather than filling space uniformly. Artists exploit this by placing strokes of complementary hues side by side to make both appear more vivid. Printers exploit it through halftoning, placing dots of different primaries in patterns that your eye averages spatially.
The sky appears blue for reasons that begin in physics and end in biology. Molecules in the atmosphere scatter light. The scattering is stronger for shorter wavelengths. As sunlight passes through, more blue light is scattered in all directions. When you look away from the sun, you see this scattered light, which is higher in the short wavelengths that your short cone class detects more strongly. At the horizon the light has traversed more air and collected more scattered long wavelengths, so the blue desaturates toward white. At sunset the long path through the atmosphere removes short wavelengths from the direct sun, leaving the sun and surrounding clouds rich in long wavelengths. Your opponent channels report these spectral shifts as golden and red hues.
Plants look green for a different reason. Chlorophyll pigments absorb photons in the red and blue parts of the spectrum to power photosynthesis, and they reflect and transmit more in the green region. Despite this, many leaves still reflect some red and blue due to other pigments and internal structures. Under canopy light, which is often dominated by green light filtered through leaves above, plants can appear surprisingly yellow or lime green, reminding us that context matters. Cameras see this too. Photographers set white balance to correct for the color of the illumination and to make scenes look natural. Your visual system performs an automatic white balance, using cues from the scene.
Now consider the colors of fire and metal. The incandescence of a heated object follows a smooth curve dictated by its temperature. As temperature increases, the peak of the emitted spectrum moves toward shorter wavelengths. At lower temperatures the glow is dull red. At higher temperatures it is orange, then white, and at even higher temperatures it approaches blue white. The correlated color temperature of a light source describes the temperature of a theoretical perfect radiator that would produce a similar hue. You may select a five thousand five hundred Kelvin white for daylight balanced photography. A kitchen bulb might be two thousand seven hundred Kelvin. The number does not tell the whole story because real sources deviate from perfect radiators. Nonetheless it provides a useful anchor.
Fluorescence adds another twist. Certain molecules absorb higher energy photons and re emit lower energy photons, shifting the spectrum. Highlighters glow under ultraviolet-rich light because they convert invisible ultraviolet into visible light, boosting certain bands. Optical brighteners in detergents do something similar in fabrics, making whites look whiter by adding a bluish fluorescent component that counteracts yellowing. Your cones do not care whether those photons were reflected or re emitted. They report their rates, and your brain compares those rates to produce a color sensation.
There is a subtlety in the light that reaches your eye. Spectra often have complex shapes with multiple peaks and troughs. Yet for your perception, only the projections onto three curves matter, because those drive the three cone classes and subsequent channels. This three dimensional compression means that many spectrally different lights can look identical, a phenomenon called metamerism. Two paints can match in one room and mismatch in another because their reflectance functions interact differently with the light sources. Metamerism is why color matching booths use multiple standardized illuminants to test product colors. It is why a black shirt can look either deep black or milky brown under different store lights. Your experience depends on the interaction between source, object, and observer.