Design glossarySecondary colors are made by mixing two primaries: cyan, magenta, and yellow on screens (RGB), or orange, green, and purple in traditional painting.
Secondary colors sit halfway between the primary colors on the color wheel, made by mixing two primaries in equal parts. Which colors they are depends on the color model, and that trips people up: the answer for screens is different from the one taught in art class.
Secondary colors by color model
| Model | Used for | Primaries | Secondaries |
|---|---|---|---|
| RGB (additive light) | Screens, websites | Red, green, blue | Cyan (green + blue), magenta (red + blue), yellow (red + green) |
| CMYK (subtractive ink) | Printing | Cyan, magenta, yellow | Red, green, blue |
| RYB (traditional pigment) | Painting, art teaching | Red, yellow, blue | Orange, green, purple |
The RGB and CMY models mirror each other: the secondaries of one are the primaries of the other. Mixing light adds brightness, so red and green light make yellow; mixing ink subtracts it, so cyan and magenta ink make blue.
Secondary colors in web design
On screen, secondary colors are easy to see in hex codes. Pure red is #FF0000 and pure blue is #0000FF; turn both channels fully on and you get magenta, #FF00FF. Cyan is #00FFFF and yellow #FFFF00.
Pure secondaries are rarely used straight in a design because they are extremely bright. In practice they are the starting points for softer brand colors, such as a teal derived from cyan or a gold derived from yellow.
Separately from color theory, designers also talk about a brand's "secondary colors", meaning the supporting palette next to the main brand color. Those can be any hues, not just the theoretical secondaries. Good supporting colors:
- have a clear job, such as links, highlights, success and error states, or background panels;
- work with the main color on the wheel, whether as complementary accents or analogous neighbors;
- pass WCAG contrast checks wherever they carry text.
In WordPress, these supporting colors belong in the theme's palette, set in theme.json or the Site Editor's Styles panel, so editors pick from the same few colors instead of typing new ones.
FAQs
What are primary and secondary colors in web design?
Screens use the RGB model, whose primary colors are red, green, and blue. Mixing two of them at full strength gives the secondary colors: cyan (green and blue), magenta (red and blue), and yellow (red and green). Every color on a website is a mix of the three primaries at different strengths.
How does color mixing work in the web design process?
Screens mix light, which is additive: adding more of a primary makes a color brighter, and all three at full strength make white. In code, each primary is a channel in a hex or RGB value, so #FF0000 (red) plus #0000FF (blue) gives #FF00FF (magenta). Design tools and CSS functions such as color-mix() handle the arithmetic.
How do secondary colors help highlight essential elements?
A brand's secondary or accent color is usually kept for the things that must stand out, such as buttons, links, and alerts. Because it appears less often than the main color, it draws the eye. It still needs enough contrast against its background to be readable.
What role do color associations play for a target market?
Colors carry associations, but they depend on culture, industry, and context rather than fixed rules, so the same color can feel different to different audiences. Treat associations as a starting point, look at what competitors and customers expect, and test with real users rather than relying on generic color-psychology charts.
Are secondary colors used differently in printed materials?
Yes. Print uses the subtractive CMYK model, where cyan, magenta, and yellow are the primaries and red, green, and blue are the secondaries. Some bright screen colors cannot be reproduced in ink, so brand palettes usually specify separate RGB, CMYK, and sometimes Pantone values for each color.