Color Palette Generator
Press the spacebar to generate a new five-color palette. Click a color to lock it so it stays while the rest change, then copy or export the palette as CSS or Tailwind.
Press the spacebar for a new palette. Lock the colors you love, copy or export the rest.
Press Space to generate · click a color to copy it · click the lock to keep a color.
A headline that uses your palette
This is a live preview. The headline, buttons, and cards below recolor themselves from the palette above, so you can see whether the colors work together before you use them.
A short description.
Another short description.
Saved palettes
Explore palettes
Curated palettes to start from. Click any color to copy it, or load the whole palette into the generator.
Ocean Breeze
Sunset Glow
Forest Walk
Cotton Candy
Desert Sand
Midnight City
Berry Smoothie
Spring Meadow
Coffee House
Nordic Frost
Citrus Punch
Lavender Field
Autumn Leaves
Coral Reef
Mint Fresh
Royal Velvet
Peach Sorbet
Slate & Amber
Tropical Lagoon
Rose Garden
Earthy Tones
Neon Nights
Soft Pastels
Deep Sea
How to build a color palette
A palette is a small set of colors that do one job together: one or two main colors, one accent that draws the eye, and one or two neutrals for backgrounds and text. The harmony rules on this page are shortcuts. Analogous palettes (neighbors on the wheel) feel calm and safe; complementary palettes (opposites) feel bold; triadic palettes (three evenly spaced colors) feel balanced and lively; monochromatic palettes (one hue, different lightness) feel elegant and are almost impossible to get wrong.
Whatever rule you start with, check the result two ways: run the palette through the contrast checker for text, and look at it in the color blind simulator. A palette that only works for people with perfect color vision is a palette that fails a tenth of your visitors.
Frequently asked questions
How do I generate a color palette?
Press the spacebar or click “Generate”. You get five colors that work together. Click any color to lock it, then press spacebar again — the locked colors stay and the rest change.
What is the difference between analogous and complementary palettes?
Analogous palettes use colors next to each other on the color wheel, so they feel calm and related. Complementary palettes use colors opposite each other, so they feel bold and high-contrast. Triadic palettes use three colors spaced evenly around the wheel.
Can I save a palette without an account?
Yes. Click “Save palette” and it is stored in your browser, with no account and no limit. You can also copy a shareable link — the palette is in the URL itself, so anyone who opens it sees the same colors.
How do I use a palette in my website?
Click “Export CSS” to copy the palette as CSS variables, or “Export Tailwind” for a Tailwind config snippet. Paste the result into your stylesheet and use the variables anywhere.
What does the “color-blind safe” badge mean?
It is a quick check: the palette is simulated as a person with deuteranopia (the most common color blindness) would see it, and the badge appears only if the colors stay easy to tell apart. It is a design aid, not a medical result.
Related tools
Color Wheel · Random Color Generator · Gradient Generator · Contrast Checker · Color Blind Simulator