Choose colors people can read: on a screen, on paper, and for readers who can't tell red from green.
You'll learn to:
From my thirty years in product design.
On a screen, red light plus green light makes what?
Switch on red and green and slide them together. Does your guess hold? Then try the same thing in print.
The rule: Pick screen colors on a screen and print colors on paper. A screen starts black and adds light, so colors mix toward white. Paper starts white and ink takes light away, so colors mix toward black. A palette chosen for one won't look the same on the other.
Match the swatch. Add white to lighten it, black to darken it, grey to soften it. The number says how far off you are.
The rule: Add white for a tint, black for a shade, grey for a tone. Those three moves build most palettes. Step six uses one of them: a single hue walked from dark to light.
Try all three color schemes and turn the wheel. Each time, the check says whether those colors could label a chart.
The rule: Colors that look good together still have to be told apart. Test them. The color wheel tells you which hues sit well together. It says nothing about whether a reader can tell them apart on a chart. The same scheme passed in one spot and failed in another.
Type the number you see in the dots. Then switch to deuteranopia, a common kind of red-green color blindness, and look again.
The rule: Never let red against green carry the meaning alone. The number didn't fade. It vanished, because only red against green carried it. About 1 in 12 men and 1 in 200 women of Northern European ancestry have red-green color blindness. Most have a milder form than the one shown here.
I'll name a team. Tap its bar as fast as you can. Then do it again with one color.
The rule: Color points. Use it on the one thing that matters. The twelve colors didn't help. The bar lengths had already ranked the teams, so you read labels. One color, on the one bar that mattered, did the whole job.
Pick a palette for each of three kinds of data. A wrong pick still draws, and shows you what it hides.
The rule: Names get separate hues. Amounts get one hue, light to dark. Change from zero gets two hues that meet in the middle. Nothing ranks names, so their colors shouldn't rank either. An amount only goes one way, so its color should too. Change from zero has a real middle, and its palette needs one. The wrong palette invents an order or hides one.
Add lines to the chart until the check fails. Then turn on dashes and labels.
The rule: Past about five lines, give each one a dash, a marker or a label as well as a color. I used to say keep it under ten. The measurement is harsher: hues spaced evenly around the wheel gave out at five here. Past that, color can't tell the lines apart by itself.
Paste the colors from a chart you've shipped, as hex codes separated by commas.
The rule: Test your palette where it ships, every time it changes. This check is chart-color-audit, a tool I wrote so a build fails when a color change breaks a chart. The command under your result runs it on your machine. One well-meant tweak can break a palette that passed yesterday.
Five lines, and the check fails. Change colors, add dashes and labels, or both, until it passes.
The rule: Measure, change one thing, measure again. Nobody gets a palette right by looking at it, me included. The check is what tells you.
Answer: Pick out the one team that matters. Color points. Use it on the one thing that matters. Step 5
Answer: Two hues that meet at zero. Names get separate hues. Amounts get one hue, light to dark. Change from zero gets two hues that meet in the middle. Step 6
Answer: A word beside the color. Never let red against green carry the meaning alone. Step 4