Intro To Color For Visualization
Intro To Color For Visualization
gov
Color selection in data visualization is not merely an aesthetic choice, it RGB Color
is a crucial tool to convey quantitative information. Properly selected Televisions and computer screens generate a spectrum of colors by
colors convey the underlying data accurately, in contrast to many color combining pixels of separate primary colors that roughly correspond to
schemes commonly used in visualization that distort relationships the three types of cones—red, green, and blue. The wavelengths of the
between data values. Judicious use of color also allows multiple datasets three primaries do not exactly match the peak wavelengths of cones in
to be layered together, which helps to create graphics that tell stories of the eye, and emit at narrow wavelengths vs. the broad response of cones.
cause and effect. I will explain theories of color use in visualization, and Combined, these effects result in a gamut of colors on a display that is
show methods for selecting effective color palettes. smaller than the full range of colors humans can distinguish. Further-
more, pure red, green, and blue are not equal in brightness, and changes
Introduction to Color in their intensities can result in nonlinear changes in perceived color.
Visible light is the portion of the electromagnetic spectrum visible to the
human eye, ranging from wavelengths of roughly 400 to 700 nm.
Differences in wavelength are perceived as the familiar colors of the
rainbow. From short to long wavelengths: violet, blue, green, yellow,
orange, and red.
short
Relative Contribution
to Color Perception
medium
long
- 0 +
- 0 +
Sequential Displays Rainbow palette
Sequential maps display quantities of data. To accurately display the data
and relationships between data points, care must be taken to ensure that
a change in the value of a parameter is perceived proportionally. Some
commonly used color palettes—especially the rainbow palette—do not
accurately maintain relationships, and are a poor choice for data display.
Transitions between some colors, green and red, for example, occur very
rapidly, leading to false contrast. Other transitions, especially green, are
gradual, and there is a loss of detail. Rainbow palettes have another
deficiency: because the overall brightness of the colors increases and
decreases over the range of hues there is no natural progression of
values. An alternative is to only use brightness, not color, to encode
value, but surrounding tones can significantly alter the perceived values
of pixels. Grayscale palettes are best limited to black and white reproduc-
tions. A better approach is to use a color scheme that spirals through a Grayscale palette
perceptual color space, with each step equally different in hue, saturation,
and brightness.
Resources
Color Brewer
http://colorbrewer.org/
References
Brewer, Cynthia A. (2005) Designing Better Maps: A Guide for GIS Users.
Redlands, CA: ESRI Press.
Rogowitz, B.E.; Treinish, L.A. (1998) Data visualization: the end of the
rainbow," Spectrum, IEEE , vol.35, no.12, pp.52-59.