Chuyển đến nội dung

Bài 33 · Design, Accessibility and Automation

Color and Contrast in PowerPoint Slides

Choose accessible slide colors in PowerPoint: theme palettes, the 60-30-10 rule, WCAG contrast ratios, color blindness and a Python contrast ratio calculator.

Color does three jobs on a slide: it groups things that belong together, it draws attention to the one thing that matters, and it carries your brand. It also causes the most common accessibility failure: text that is too faint to read. This lesson shows how to pick a palette, apply it through the theme, and measure contrast instead of guessing.

Building a palette

A reliable approach is the 60-30-10 rule: 60% a neutral background (white, off-white or dark), 30% a secondary color (for panels, shapes), 10% an accent used sparingly for emphasis and buttons.

  1. Start with one brand color.
  2. Add a dark neutral for text and a light neutral for backgrounds.
  3. Add one or two accents. Six colors is more than most decks need.
  4. Save them under Design > Variants > Colors > Customize Colors (see Templates and theme files).

In the color picker, use the theme swatches and their lighter/darker variants rather than More Colors. Pick exact brand colors by entering a hex code on the Custom tab, or use the Eyedropper (Shape Fill > Eyedropper) to sample a logo.

Light or dark backgrounds

Dark backgrounds look good in dark rooms and on video; light backgrounds work in bright rooms and for printing. Do not mix them randomly. If you choose a dark theme, check that charts and images still read well, and print handouts in grayscale to confirm.

Contrast ratio

Contrast is measured by the WCAG contrast ratio, from 1:1 (no difference) to 21:1 (black on white). Guidelines:

Text Minimum ratio (WCAG AA)
Normal text 4.5 : 1
Large text (18 pt, or 14 pt bold, and above) 3 : 1
Graphics and UI parts (chart lines, icons) 3 : 1
Stricter level AAA, normal text 7 : 1

The calculation uses the relative luminance of each color: convert each 0-255 channel to a linear value, then weight them (red 0.2126, green 0.7152, blue 0.0722). The ratio is (L1 + 0.05) / (L2 + 0.05), where L1 is the lighter color.

Python Contrast ratio calculator (WCAG)

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Python Check a whole slide's colors

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

You can run the same checks without code: Review > Check Accessibility reports low-contrast text (see Accessibility checker), and tools such as the free Colour Contrast Analyser accept two colors and return a ratio.

Color and meaning

About 1 in 12 men and 1 in 200 women have some form of color vision deficiency, most often red-green. Never use color alone to carry meaning:

  • In charts, add direct labels, patterns, or marker shapes alongside color.
  • Avoid red/green pairs for good vs bad; use blue/orange or add icons and text ("Up 12%").
  • Check at grayscale: View > Grayscale shows how the deck prints.

Text over pictures

Photos have uneven brightness, so text on them is risky. Options: place a semi-transparent solid shape (for example 60% black) between picture and text, blur or darken the picture (Picture Format > Corrections), or put the text on a plain area of the image.

Common mistakes

  • Light grey text on white. It looks stylish and is unreadable on a projector.
  • Yellow on white. Contrast is often under 2:1.
  • Using many accent colors with no meaning.
  • Hard-coded RGB values that ignore the theme.
  • Red/green only status signals.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What minimum contrast ratio does WCAG AA require for normal-size text?

    Normal text needs 4.5:1; large text needs 3:1.
  2. 2. Which approach helps people with color blindness?

    Never rely on color alone; add another visual cue.
  3. 3. In the 60-30-10 rule, what does the 10 stand for?

    10% is the accent used sparingly for emphasis.
  4. 4. How can you make text readable on a busy photo?

    An overlay evens out the background behind the text.

Summary

  • Build a small palette (60-30-10) and save it as theme colors.
  • Measure contrast: 4.5:1 for normal text, 3:1 for large text and graphics.
  • Do not rely on color alone; test in grayscale.
  • Use overlays for text over images.

Next: Accessibility checker

Theo dõi tiến độ của bạn

Tạo tài khoản miễn phí để đánh dấu bài đã học và tiếp tục từ chỗ bạn dừng lại trên mọi thiết bị.