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.
Settings
Separate categories or series with no order, such as products or regions.
Your colours
All colours are clearly different for typical vision and simulated deuteranopia, protanopia and tritanopia, and reach 3:1 against the background.
Preview
Previews use sample data. The colour codes above are the text alternative for each chart.
Export
Which kind of chart palette do you need?
- Categorical colours separate things that have no order: products, countries, teams. They need to look as different from each other as possible, which is why the tool picks each new colour to be as far as possible from the ones already chosen, measured with the CIEDE2000 colour difference (ΔE00) for typical vision and for simulated deuteranopia, protanopia and tritanopia.
- Sequential ramps show amounts from low to high. Lightness falls steadily from one end to the other, so the order still reads in greyscale print and for colour-blind readers.
- Diverging ramps show values either side of a midpoint (zero, the average, last year). Two hues meet at a near-neutral middle with matching lightness on both sides, so neither side looks more important.
- Heatmap ramps change hue as well as lightness, which helps the eye pick out bands in dense grids.
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.