Access

Consider color blindness and avoid encoding important information in red and green.

When possible, color choice should take color blindness into account. Two color palettes of the same data in fig. fig:color-blind-small reveal the importance of proper choice. Colorblind-safe palettes primarily avoid red-green color combinations, which is the most common form of color blindness. Computationally simulating color blindness (deuteranopia or protanopia, the two most common forms of red-green color blindness) reveals that although distinct colors were chosen, they are difficult to distinguish under these conditions. If you choose a color blind-safe color palette, you will avoid the risk of losing part of your audience.

Figure 1: A comparison of simulations for different colorblindness conditions of the sRGB gamut.

Figure 2: Simulating color-blindness.

Here is the same example done in python using the colorspacious module.

Colorblindness Simulation

There are several tools online where we can learn about and/or simulate color blindness (for example: color-blindness.com).