How-To Guides · Beginner

Color Theory for Web Design: Color Wheels, Schemes & Contrast

Understand hue, saturation, lightness, color harmony and accessible contrast. Learn how to build practical palettes for websites and digital products.

7 min read By Editagram Team Updated
colordesigncolor theoryweb design

What color theory helps you do

Color theory provides a vocabulary for describing and combining colors. It can help a designer build a consistent palette, create visual hierarchy and communicate a mood. Color associations vary by culture and context, so treat emotional interpretations as design conventions rather than universal rules.

Understand hue, saturation and lightness

Hue describes the colour family, such as blue or orange. Saturation describes how vivid or muted a colour appears. Lightness describes how close it is to black or white. HSL is a convenient way to adjust these properties when building a palette, although displays ultimately show colours using a light-based RGB model.

Color models: screen light and physical pigments

For screens, RGB is an additive model: red, green and blue light combine to create other colours, and the three channels at full intensity produce white. Printing and physical pigments use subtractive colour processes, commonly described with CMYK for print workflows. The traditional red-yellow-blue art colour wheel is a teaching model for pigment mixing, not the same as the RGB display model.

Common harmony schemes

A complementary palette uses hues opposite each other on a chosen colour wheel and can create strong contrast. An analogous palette uses neighbouring hues for a more blended look. A triadic palette uses three evenly spaced hues, while a monochromatic palette varies lightness and saturation within one hue family. These are starting points; adjust the actual tones for readability and hierarchy.

Build a usable website palette

Start with a base brand colour, then choose supporting neutrals, a secondary colour and a small number of accent or status colours. Define design tokens for page background, surfaces, primary text, muted text, borders, focus rings and interactive states. Reuse those tokens so the interface remains consistent across pages and components.

Check contrast and accessible use

WCAG 2.2 Success Criterion 1.4.3 requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text, subject to the criterion’s exceptions. Check text against the actual background, including gradients and images. Do not rely on colour alone to convey errors, success or selected states; pair colour with labels, icons or another visual cue.

Use the Editagram Color Scheme Generator

Choose a base colour and a scheme type to generate related colour values using HSL colour relationships. Copy the resulting hex values into your design system, then test them in buttons, headings, body text and form controls. A mathematically harmonious palette still needs contrast testing and real-interface review.

Test in context

Look at the palette on both light and dark backgrounds, on mobile screens and at different brightness levels. Check how it works for people with colour-vision differences and in states such as hover, focus, disabled and error. Use a restrained number of colours and reserve the strongest accents for important actions.

Frequently Asked Questions

What is the difference between RGB and CMYK?

RGB is an additive light model used by screens. CMYK is a subtractive printing model using cyan, magenta, yellow and black inks. A colour can look different when converted between the two.

What is a complementary colour scheme?

It pairs hues opposite each other on a selected colour wheel. The pairing can create a strong visual contrast, but the exact result depends on tone and saturation.

What contrast ratio should normal text meet?

WCAG 2.2 AA uses at least 4.5:1 for normal text and 3:1 for large text under Success Criterion 1.4.3, with specified exceptions.

How many colours should a website use?

There is no required number. Start with a small system of brand, neutral, accent and status colours, then add a colour only when it serves a clear design purpose.

Related Tools

Related Guides

Explore more learning resources in Editagram Academy.