Plain notes on website fonts and colours
Plain notes on website fonts and colours
This site explains how to pick readable fonts and colours for a small website. It covers type size, font pairing, system and web fonts, font licences, colour contrast and simple palettes. Each page is a short checklist with its sources named.
All the checklists
- How to choose fonts for a website
A short checklist for picking a font for your site: style family, where the font comes from, fallbacks, licence and file count.
- System fonts and web fonts: what is the difference?
What system fonts and web fonts are, how a browser picks between them, and what to weigh before you load a font file on your site.
- Readable font size and line spacing
How to set body text size and line spacing so paragraphs stay readable on phones and desktops, using units that respect visitors' settings.
- Colour contrast for text: what the ratios mean
What a contrast ratio is, the WCAG minimums for body text, large text and controls, and why a near miss still counts as a fail.
- How to check colour contrast on your own pages
Free ways to test text contrast, from an online checker to browser developer tools, and what a pass or fail result tells you to do next.
- Building a simple colour palette for a small site
How many colours a small site needs, the job each one does, and how to test every pair for contrast before you commit.
- Pairing two fonts without a clash
Whether to use more than one font, how to give each a clear job, and how to write the CSS so the pair still works if a file fails to load.
- Font licences explained: what you may use on a website
What a font licence is, what an open licence such as the SIL Open Font License lets you do, and what to check before a font goes on your site.