Design & CSS Tools

Color Palette Generator

Create matching color schemes from one base color using color theory.

Click a swatch to copy its HEX code.

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

  1. Choose a base color, or click Random base color for inspiration.
  2. Select a scheme. Each scheme follows a different color theory rule.
  3. Click any swatch to copy its HEX code, or copy all colors as CSS variables.

Color schemes explained

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.