CSE442 Color
CSE442 Color
Color
To label
To measure
To represent and imitate
To enliven and decorate
“Yellow”
What color is this?
What color is this?
“Blue”
What color is this?
What color is this?
“Teal” ?
Perception of Color
+++ +- + ++ -
A R-G Y-B
Light Cone Response Opponent Signals
“Yellow”
370-730 nm
Power or
“Relative luminance”
Additive Subtractive
(digital displays) (print, e-paper)
Perception of Color
+++ +- + ++ -
A R-G Y-B
Light Cone Response Opponent Signals
“Yellow”
“Tri-stimulus”
Computer displays
Digital scanners
Digital cameras
We Use Color Spaces to Express
Color Ranges
Color spaces allow us to capture, index, and
enumerate colors perceived by the human eye.
x
CIE Chromaticity Diagram
Spectrum locus
Purple line
Mixture of two
lights appears as
a straight line.
CIE Chromaticity Diagram
Spectrum locus
Purple line
Mixture of two
lights appears as
a straight line.
CIE Chromaticity Diagram
Spectrum locus
Purple line
Mixture of two
lights appears as
a straight line.
CIE Chromaticity Diagram
Spectrum locus
Purple line
Mixture of two
lights appears as
a straight line.
Display Gamuts
Typically defined by:
3 Colorants
Convex region
Display Gamuts
Deviations from
sRGB specification
Example:
(R, G, B) coordinates
ranging from 0-255.
Displays may
produce different
colors for a coord!
Color Vision Deficiency (CVD)
Missing one or more cones or rods in retina.
+++ +- + ++ -
A R-G Y-B
Light Cone Response Opponent Signals
“Yellow”
Yellow
Blue
Green
Red
Opponent Processing
+ - +
+ + + + + -
A R-G Y-B
[Fairchild]
Opponent Processing
Experiments:
No reddish-green, no blueish-yellow
Color after images
CIE LAB Color Space
Axes correspond to opponent signals
L* = Luminance
a* = Red-green contrast
b* = Yellow-blue contrast
Much more perceptually uniform than RGB!
Scaling of axes to represent “color distance”
JND = Just noticeable difference (~2.3 units)
D3 + Vega include LAB color space support
CIE LAB and LUV Color Spaces
Standardized in 1976 to mathematically represent
opponent processing theory.
Non-linear transformation of CIE XYZ
CIE LAB Color Space
Axes correspond to opponent signals
L* = Luminance
a* = Red-green contrast
b* = Yellow-blue contrast
Much more perceptually uniform than sRGB!
Scaling of axes to represent “color distance”
JND = Just noticeable difference (~2.3 units)
D3 + Vega include LAB color space support!
Perception of Color
+++ +- + ++ -
A R-G Y-B
Light Cone Response Opponent Signals
“Yellow”
Hue
Hue, Value and Chroma
Value
Hue, Value and Chroma
Chroma
Munsell Color System
Perceptually-based
Precisely reference a color
Intuitive dimensions
Look-up table (LUT)
Munsell Color System
Perceptual Brightness
Color palette
Perceptual Brightness
Color palette
HSL Lightness
(Photoshop)
Perceptual Brightness
Color palette
Luminance Y
(CIE XYZ)
Perceptual Brightness
Color palette
Munsell Value
Perceptual Brightness
Color palette
Munsell Value
L* (CIE LAB)
Perceptually-Uniform Color Space
Munsell colors in CIE LAB coordinates
Mark Fairchild
Perception of Color
+++ +- + ++ -
A R-G Y-B
Light Cone Response Opponent Signals
“Yellow”
Josef Albers
Simultaneous Contrast
Inner & outer rings are the same physical purple.
Donald
MacLeod
Bezold Effect
Color appearance depends on adjacent colors
+++ +- + ++ -
A R-G Y-B
Light Cone Response Opponent Signals
“Yellow”
Blue Purple
Evolution of Basic Color Terms
Proposed term evolution across languages.
Naming Effects Color Perception
Color name boundaries
Green Blue
Rainbow Color Map
We associate and group colors together, often
using the name we assign to the colors.
Rainbow Color Map
We associate and group colors together, often
using the name we assign to the colors.
Rainbow Color Map
We associate and group colors together, often
using the name we assign to the colors.
Icicle Tree with Rainbow Coloring
+++ +- + ++ -
A R-G Y-B
Light Cone Response Opponent Signals
“Yellow”
Discretized Continuous
Categorical Color
Gray’s Anatomy
Superficial dissection of the right side of the neck, showing the carotid and
subclavian arteries. (http://www.bartleby.com/107/illus520.html)
Allocation of the Radio Spectrum
http://www.ntia.doc.gov/osmhome/allochrt.html
Allocation of the Radio Spectrum
http://www.ntia.doc.gov/osmhome/allochrt.html
Allocation of the Radio Spectrum
Issues:
Too many colors
Hard to remember mapping
Colors not distinctive, some are very similar
Poor grouping: similar colors, different values
Labels cause clutter
Color surround effects
Colors interactions may not look good together
http://www.ntia.doc.gov/osmhome/allochrt.html
Palette Design & Color Names
Minimize overlap and ambiguity of colors.
http://vis.stanford.edu/color-names
Palette Design & Color Names
Minimize overlap and ambiguity of colors.
http://vis.stanford.edu/color-names
Quantitative Color
Rainbow Color Maps
Be Wary of Naïve Rainbows!
Reda et al. ’21: Color Nameability Predicts Inference Accuracy in Spatial Visualizations
http://www.personal.psu.edu/faculty/c/a/cab38/ColorSch/Schemes.html
Sequential Scales: Multi-Hue
Ramp luminance & hue in perceptual color space
Avoid contrasts subject to color blindness!
Sequential Scales: Multi-Hue
Viridis, https://bids.github.io/colormap/
Diverging Color Scheme
Designing Diverging Scales
http://www.personal.psu.edu/faculty/c/a/cab38/ColorSch/Schemes.html
Designing Diverging Scales
Hue Transition
Carefully Handle Midpoint
Choose classes of values
Low, Average, High - Average should be gray
Critical Breakpoint
Defining value e.g., 0
Positive & negative should use different hues
Extremes saturated, middle desaturated
Hints for the Colorist
Use only a few colors (~6 ideal)
Colors should be distinctive and named
Strive for color harmony (natural colors?)
Use cultural conventions; appreciate symbolism
Get it right in black and white
Respect the color blind
Take advantage of perceptual color spaces
Color is cultural and a matter of taste!
Administrivia
A3: Interactive Prototype