GameParticles
Colors

Color Theory Basics: Hue, Harmony and the 60-30-10 Rule

Color theory explained in plain terms: hue, saturation and value, warm vs cool colors, the main harmony rules and the 60-30-10 rule, with HEX examples.

Updated

Color theory is a set of practical rules for describing colors and predicting which ones work together. It rests on three ideas: every color can be described by its hue, saturation and value; hues are arranged on a wheel; and pleasing combinations, called harmonies, come from simple geometric relationships on that wheel. This guide covers those basics with HEX examples you can test.

Hue, saturation and value

Any color can be pinned down with three properties.

  • Hue is the color family: red, orange, yellow, green, blue, purple. It is measured as an angle around the color wheel, from 0 to 360 degrees. On the screen wheel red is at 0, green at 120 and blue at 240.
  • Saturation is how pure or vivid the color is. At full saturation the hue is intense; at zero it is a grey.
  • Value is how light or dark the color is. Artists call it value; software calls it lightness or brightness depending on the model.

CSS uses the HSL model, which stands for hue, saturation and lightness. Take the blue #2563EB. In HSL it is hsl(221, 83%, 53%): a hue of 221 degrees, strong saturation and a medium lightness. Drop the saturation to 20 percent and it turns into a slate grey-blue. Raise the lightness to 90 percent and it becomes the pale #D0DEFB.

Design software often uses HSV (hue, saturation, value) instead. The hue is the same number in both models, but the third value behaves differently: in HSV, 100 percent value gives the brightest version of the hue, while in HSL, 100 percent lightness is always white. Keep that in mind when copying numbers between tools.

To see the HSL values of any color, paste its HEX code into the Color Converter. The guide to HEX, RGB and HSL color codes covers the notations in depth.

Tints, shades and tones

Three words describe what happens when you change value and saturation while keeping the hue.

TermHow it is madeEffect
TintAdd whiteLighter, softer, more pastel
ShadeAdd blackDarker, heavier
ToneAdd greyLess saturated, more muted

A full interface usually needs one hue in many steps: a pale tint for backgrounds, a mid value for buttons, a dark shade for text. For #2563EB, a scale from light to dark runs #D0DEFB, #A2BCF6, #739BF2, #447AEE, #1659E9, #1147BB, #0D358C, #09235D, #04122F. That is one hue and one saturation with lightness stepping from 90 down to 10 percent. A scheme built only from steps like these is called monochromatic.

Warm and cool colors

The wheel is conventionally split in two. Reds, oranges and yellows are warm. Greens, blues and purples are cool. Yellow-green and red-purple sit on the border and can go either way depending on what surrounds them.

The labels describe an effect, not a measurement. Warm colors tend to feel energetic and seem to advance toward the viewer. Cool colors feel calmer and seem to recede. Designers use this to steer attention: a warm call-to-action button on a cool page stands out without needing to be large.

Temperature is also relative within a single hue. Scarlet, #FF2400, is a warm red because it leans toward orange. Crimson, #DC143C, is a cool red because it leans toward blue. Greys work the same way: a grey with a trace of blue reads as cool, one with a trace of yellow reads as warm.

The harmony rules

A harmony is a recipe for choosing hues by their positions on the wheel. Each has its own character.

HarmonyHues usedCharacter
MonochromaticOne hue, several lightness stepsCalm, unified, low risk
AnalogousNeighbors, about 20 to 40 degrees apartNatural and cohesive
ComplementaryTwo hues 180 degrees apartMaximum contrast
Split-complementaryA hue plus the two beside its oppositeStrong contrast, less tension
TriadicThree hues 120 degrees apartLively and balanced
TetradicFour hues in two opposite pairsRich, hardest to balance

Starting from #2563EB, the complementary hue is the amber #EBAC24, and the triadic partners are the pink-red #EB2463 and the green #63EB24. Each rule has its own guide: complementary colors, analogous colors and triadic colors. The wheel itself, including why painters and screens use different ones, is covered in the color wheel explained.

The Color Palette Generator applies four of these rules for you. Enter a HEX code and switch between Complementary, Analogous, Triadic and Split-Comp to see each set, with a tint and shade scale of the base color underneath.

The 60-30-10 rule

A harmony tells you which colors to use. The 60-30-10 rule tells you how much of each. It comes from interior design and translates well to screens:

  1. About 60 percent is the dominant color. In a room that is the walls; on a web page it is the background and large surfaces, usually a neutral or a very light tint.
  2. About 30 percent is the secondary color: furniture in a room, or cards, navigation and headings on a page.
  3. About 10 percent is the accent: cushions and artwork, or buttons, links and highlights.

The percentages are a guide, not a measurement. The point is unequal proportions. Three colors used in equal amounts compete with each other, while one dominant color with a small accent gives the eye a clear order to follow.

A worked example: a near-white #F8FAFC background for the 60, a dark slate #1E293B for text and navigation as the 30, and the blue #2563EB for buttons and links as the 10. If you want a second accent for warnings or highlights, the complementary amber #EBAC24 is a natural choice because it is as far from the blue as the wheel allows.

Contrast comes first

Harmony rules pick hues, but readability depends on the difference in lightness between text and its background. Two colors can be perfectly complementary and still be unreadable together if their lightness is similar. White text on #2563EB has a contrast ratio of 5.17 to 1, which passes the WCAG AA minimum of 4.5 to 1 for body text. White on the amber #EBAC24 is only 2.01 to 1, so that color needs dark text.

Check every text and background pair with the Contrast Checker before committing to a palette. The thresholds are explained in the WCAG color contrast guide.

A short process for picking colors

  1. Choose one base color that fits the subject or brand.
  2. Pick a harmony: analogous for calm, complementary for punch, triadic for playful.
  3. Build a tint and shade scale of the base for backgrounds, borders and text.
  4. Assign roles with 60-30-10, using a neutral for the 60.
  5. Test contrast for every text pair and adjust lightness, not hue, to fix failures.

Try it

Enter a base color in the Color Palette Generator, compare the four harmony modes, and copy the result as CSS variables, a Tailwind config snippet or a plain HEX list. More color utilities are in the colors category.

Tools in this guide

Frequently asked questions

What are the three properties of color?

Hue, saturation and value. Hue is the color family, such as red or blue. Saturation is how vivid or grey the color is. Value, also called lightness or brightness, is how light or dark it is. Every color can be described with those three properties.

What is the 60-30-10 rule in color?

It is a proportion guideline from interior design: use a dominant color for about 60 percent of the space, a secondary color for about 30 percent and an accent for the last 10 percent. It keeps a scheme balanced and makes the accent stand out.

What is the difference between warm and cool colors?

Warm colors are the reds, oranges and yellows; cool colors are the greens, blues and purples. Warm colors tend to feel energetic and appear to come forward, while cool colors feel calm and appear to recede. The split is a convention, not a physical law.

What are the basic color harmony rules?

The main ones are complementary (two opposite hues), analogous (neighboring hues), triadic (three hues evenly spaced), split-complementary (a hue plus the two beside its opposite), tetradic (four hues in two opposite pairs) and monochromatic (one hue in several lightness steps).

More colors guides

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵