Colorblind-Friendly Palette

noun

say it: “KUL-er-blind FREND-lee PAL-it” /ˈkʌlərˌblaɪnd ˈfrɛndli ˈpælɪt/

A set of colors picked so that people with color blindness can still tell them apart.

What is a colorblind-friendly palette?

A colorblind-friendly palette is a set of colors chosen so that most color-blind readers can still tell them apart, unlike red and green, which many can't. matplotlib has one built in as a style, and every chart drawn after it uses its colors.

import matplotlib.pyplot as plt
plt.style.use("tableau-colorblind10")   # every chart after this uses these colors

In a sentence

  • “She switched to a colorblind-friendly palette so every reader could tell the lines apart.”
  • “The report's charts used a colorblind-friendly palette instead of red and green.”

Level: Journeyman · More Python terms at this level

Updated