Advertisement

Colors

CSS Variables

Advertisement

Color Harmony Modes Explained

🔄 Complementary

Two colors opposite each other on the color wheel. Creates high contrast and vibrant combinations. Great for call-to-action buttons and accent elements.

🌈 Analogous

Colors next to each other on the wheel. Creates harmonious, natural-feeling palettes. Perfect for backgrounds and cohesive designs.

🔺 Triadic

Three colors evenly spaced on the wheel (120° apart). Balanced and vibrant with good contrast. Use one dominant, two accents.

✂️ Split Complementary

A base color plus the two colors adjacent to its complement. Less tension than straight complementary, but still visually interesting.

💎 Tetradic (Rectangle)

Four colors in two complementary pairs. Rich palette with lots of variety. Use one dominant, rest as accents.

⚫ Monochromatic

Variations of a single hue (different lightness/saturation). Clean, elegant, and easy to get right. Great for minimalist designs.

⚪ Shades

From light tint to dark shade of the same color. Useful for UI elements like buttons, cards, and text hierarchy.

Frequently asked questions

What makes a color palette harmonious?

Harmony comes from a consistent relationship on the color wheel plus a deliberate contrast budget. Complementary, analogous, and triadic schemes each fix one kind of relationship; a usable palette then adds one accent and enough lightness separation for text and UI states.

How many colors should a website palette have?

Most production interfaces settle on five to seven: one or two neutrals for surfaces and text, one primary, one accent, and one or two semantic colors for success and error. A larger token set is fine, but the visible colors on one screen stay small.

What is the 60-30-10 rule?

It is a proportion guideline: 60% of the visual area in a dominant color, 30% in a secondary, 10% in an accent. It keeps a palette from feeling evenly weighted, and it maps cleanly onto CSS custom properties for background, surface, and accent.