Skip to content
ColorsGuide

Chart colours

Colours for bar charts, line charts, maps and dashboards that stay distinct for people with colour-vision deficiencies and readable on light or dark backgrounds. They start from your active palette, and everything runs in your browser.

Example paletteUsed until you create or choose your own

Settings

Type of chart colours

Separate categories or series with no order, such as products or regions.

Background

Your colours

All colours are clearly different for typical vision and simulated deuteranopia, protanopia and tritanopia, and reach 3:1 against the background.

Preview

Bar chart
Line chart
Donut chart

Previews use sample data. The colour codes above are the text alternative for each chart.

Export

Which kind of chart palette do you need?

How the warnings work

A ΔE00 of about 10 or more reads as clearly different at chart sizes; below that, two series can be mistaken for each other, especially as thin lines or small dots. When a pair falls below 10 under one of the simulations, the tool names the pair and the vision type. Each colour should also reach 3:1 contrast against the background (WCAG 1.4.11 for graphical objects), or the marks need outlines or labels.

Do not rely on colour alone

Even a well-chosen palette is only one cue. Label lines directly, use patterns or markers when there are many series, and pair up/down colours with + and − signs or arrows. Around 1 in 12 men and 1 in 200 women have some form of colour-vision deficiency, and simulations are an approximation of their experience, not a substitute for testing with real readers.

Using the colours

The Excel / PowerPoint export lists each series with its HEX and RGB values: in Office, choose Format Data Series, then Fill, More Colours, Custom. The CSS, JSON and JavaScript exports drop straight into chart libraries such as Chart.js, ECharts, Vega or D3.

Was this page useful?