Picking good colours for your visualisations is one of the more difficult tasks in data visualisation (see the Colour: the basics and the Colour: use in data visualisation modules of the “Design principles for data visualisation” training for an extensive introduction to the topic). This module discusses some of the common pitfalls in the use of colours.

Go beyond the defaults

The first and easiest pitfall to fall into when it comes to colours, is to just use the default colours the tool you are using to make your visualisation.

The default colour palette in a version of Microsoft Excel. Source: Maarten Lambrechts, CC BY SA 4.0

The default colour palette in a version of Microsoft Excel. Source: Maarten Lambrechts, CC BY SA 4.0

There are several reasons to run the extra mile of picking your own custom colours:

Accessible colours

A significant proportion of the human population is not able to distinguish between certain combination of colours (8 percent of European men cannot distinguish greens from reds well, for example).

When your visualisation relies heavily on colour to be well understood, you need to make sure the colours you use are accessible to people suffering from colour blindness.

red-green-colourblindness@2x.png

A chart relying on colour to identify the lines (above) and the same chart as seen by people suffering from deuteranomaly (unable to perceive green, below). Source: Maarten Lambrechts, CC BY SA 4.0

A chart relying on colour to identify the lines (above) and the same chart as seen by people suffering from deuteranomaly (unable to perceive green, below). Source: Maarten Lambrechts, CC BY SA 4.0

The solution is to always test your visualisation to be colourblind proof, and to avoid some colour combinations that do not work for people suffering from certain forms of colour blindness.

Colour combinations to avoid are

ColorBrewer includes many colourblind proof palettes (make sure to check the “colorblind safe” option). A good tool to check the palette you use in your visualisation is Viz Palette.