From Beyond the Envelope™
Colour is really important. When used well, colour can make your email. When not used well, colour can break your email. In the last issue, I looked at what it means to use it well. In this issue, I’ll look at what it means to not use it well – and how to avoid doing so.
Introducing too many colours into your colour palette and into your email can cause confusion and cognitive overload, making it difficult for your recipients to make sense of your content.
Less is more. Use two to three primary colours for typography, links, and buttons and three to four secondary colours for other elements like cards and backgrounds. In the Type E: colour palette, I have two primary colours, four secondary colours, and one dark mode colour.
Sometimes, you can be too reliant on colour to convey information. As some recipients have difficulty distinguishing one colour from another, it’s unwise to do so.
You can, for example, exclude underlines from text links and expect recipients to know that a piece of text is a link by relying on its colour alone.
You can also, for example, exclude distinctive shapes from buttons, like rounded corners (Outlook support notwithstanding), making it difficult for recipients to distinguish between buttons and similar-shaped elements:
As such, it’s wise to include additional visual cues, such as underlines on text links (it’s their native state, after all) and distinctive shapes on buttons to help recipients distinguish one element from another.
Indeed, to conform with the Web Content Accessibility Guidelines (WCAG), text links must display additional visual cues when in the hover state.
(Level A)
Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.
We looked at this Success Criterion in the last issue, but this time, I’d like to drill down deeper into one of the techniques for meeting it – Technique G183:
Using a contrast ratio of 3:1 with surrounding text and providing additional visual cues on hover for links or controls where color alone is used to identify them.
So, where you use colour alone to distinguish a text link from its surrounding text, it should have a contrast ratio of 3:1, and the text link should display an additional visual cue, such as an underline, when in the hover state.
Sometimes, you can neglect colour contrast. It’s easy to implement when you have backgrounds that are solid. It’s not so easy to implement when you have backgrounds that aren’t solid – on gradients and images, for example.
(Level AA)
The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for the following:
Large-scale text and images of large-scale text have a contrast ratio of at least 3:1;
If you want your email to conform to WCAG 2.2 Level AAA, you also need to meet Success Criterion 1.4.6. Contrast (Enhanced).
(Level AAA)
The visual presentation of text and images of text has a contrast ratio of at least 7:1, except for the following:
Large-scale text and images of large-scale text have a contrast ratio of at least 4.5:1;
If you place your text on gradients and images, it becomes easy to neglect colour contrast and ignore the Web Content Accessibility Guidelines (WCAG). In short, to not use colour well.
However, the following five steps can help you to avoid this:
Approximate |
pt |
px |
---|---|---|
Normal Size |
12-17 |
16-23 |
Large Size |
18+ |
24+ |
As you write image alternative text into your code, it’s easy to forget. If you have images placed on dark backgrounds or your recipients view your email in Dark Mode, your alternative text can simply disappear, especially if your Colour A and your Colour B are similar.
Therefore, it’s essential to test your email without images and in Dark Mode (which I’ll look at in more detail in the next issue) to ensure that your alternative text is clear and contrasting. If it isn’t, you can style your alternative text with inline CSS (or internal CSS for Dark Mode) so that your Colour A contrasts your Colour B:
alt="Your alternative text." style="color:#ffffff;"
It’s easy to create colour in a silo without thinking about the colour on your website. However, using the same colours on your email and your website on elements like headings and links, is essential.
‘Continuity of colour’ enables a recipient to navigate seamlessly from email to web without having to think about what they’re doing. Colour should help, not hinder their journey.
In summary, this is what it means to not use colour well: