Color is the most powerful — and most frequently misused — tool in the data visualization toolkit. Applied thoughtfully, color guides attention, encodes data values, and makes charts memorable. Applied carelessly, it confuses viewers, introduces bias, and can even render charts inaccessible to color-blind readers.
There are three fundamental uses of color in visualization. Sequential color scales map continuous data from low to high using varying lightness of a single hue — perfect for temperature maps or population density. Diverging scales use two contrasting hues meeting at a neutral midpoint, ideal for data that has a meaningful center like profit/loss or sentiment scores. Qualitative (or categorical) scales use distinct hues to label unrelated categories like political parties or product types, where no natural ordering exists.
Accessibility should never be an afterthought. Approximately 8% of men and 0.5% of women have some form of color vision deficiency. The most common type — red-green color blindness — makes those two colors indistinguishable. Avoid red-green pairings as the sole encoding of critical information; add texture, labels, or luminance differences as redundant channels. Tools like ColorBrewer and Viz Palette help you design palettes that are perceptually uniform and color-blind-safe.
Cultural context matters too. Red signals danger or loss in Western finance but represents prosperity in many Asian markets. Blue inspires trust globally, which is why it dominates corporate and financial dashboards. When designing charts for an international audience, test your color choices against cultural associations and always include a legend that doesn't rely solely on color recognition.