Skip to content
Pepper Web Design

Reading and recognising

Type and Colour

Most of any web page is text, so typography and colour carry most of its design.

A type specimen book
A specimen shows a typeface at every size before you commit to it.

Choosing typefaces

One family for headings and one for reading is usually enough; many good sites use a single family in two weights. Pick body type for comfort at small sizes, and headings for character.

Size, line height and measure

Reading text commonly sits around 16 to 18 pixels, with a line height near 1.5 and lines of roughly 60 to 75 characters. Short lines feel choppy; very long ones are hard to follow back.

Hierarchy

Size, weight and space should make it obvious what is a heading, what is body text and what is a caption, without needing colour to tell them apart.

Colour

A small palette works best: a neutral for text, a background, and one or two accents used sparingly for links and the main action.

A grid of colour swatches from red through yellow to green
A palette needs light, dark and something in between.

Contrast

The Web Content Accessibility Guidelines ask for a contrast ratio of at least 4.5 to 1 for normal text and 3 to 1 for large text. Never rely on colour alone to carry meaning, such as red for an error, without words or shapes as well.

Next: Layout and Space