How to Create a Color Palette
Color theory studies how colors interact. By mapping positions on the color wheel, we can identify harmonious relationships used by designers worldwide.
Six Color Harmony Types
- Complementary: Opposite on the wheel (180°). High contrast, dynamic.
- Analogous: Adjacent colors (±30–60°). Natural, calming.
- Triadic: Three evenly spaced colors (120°). Vibrant, balanced.
- Split-Complementary: Both sides of the complement. Less tension than complementary.
- Tetradic: Four colors at 90° intervals. Rich, complex palettes.
- Monochromatic: Same hue, varied lightness. Elegant, consistent.
Using in CSS
The "Copy CSS Variables" button generates --color-1: #hex; custom properties. Paste them into your :root block and reference them anywhere with var(--color-1).
Comments