Build a color scheme that works
Picking colors that look good together is one of the hardest parts of design. Color theory gives simple rules based on the color wheel. This generator takes one base color, such as your brand color, and applies those rules to suggest a five-color palette for a website, presentation, logo or social media graphic.
How to generate a palette
- Choose a base color, or click Random base color for inspiration.
- Select a scheme. Each scheme follows a different color theory rule.
- Click any swatch to copy its HEX code, or copy all colors as CSS variables.
Color schemes explained
- Complementary: the base color and the color directly opposite on the wheel (180° away). High contrast; great for buttons and calls to action.
- Analogous: neighbours on the wheel (30° and 60° either side). Calm and natural, often seen in nature photos.
- Triadic: three colors evenly spaced 120° apart. Lively and balanced.
- Split-complementary: the base plus the two colors next to its complement (150° and 210°). Strong contrast but easier to balance than complementary.
- Tetradic (square): four colors 90° apart. Rich, best when one color dominates.
- Monochromatic: one hue in several lightness levels. Clean and professional.
Tips for using your palette
A popular rule is 60-30-10: use one color for about 60 percent of the design (usually a light neutral background), a second for 30 percent (sections, cards) and an accent color for the remaining 10 percent (buttons, links, highlights). Always check that text has enough contrast against its background using our contrast checker.
Frequently asked questions
How are the colors calculated?
The base color is converted to HSL, then the hue angle is rotated around the 360° color wheel according to the scheme. Saturation and lightness are kept or adjusted to add light and dark options.
Can I use these palettes commercially?
Yes. Colors cannot be owned, so you can use any palette you create here.
How do I use the CSS variables?
Paste the code into your stylesheet, then write color: var(--color-1); wherever you want that color.