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.

Your website, in this palette

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.

Card one

A short description.

Card two

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

#03045E
#0077B6
#00B4D8
#90E0EF
#CAF0F8

Sunset Glow

#FF6B35
#F7C548
#E85D75
#7B2D8B
#2D1B4E

Forest Walk

#1B4332
#2D6A4F
#40916C
#74C69D
#D8F3DC

Cotton Candy

#FFAFCC
#FFC8DD
#CDB4DB
#BDE0FE
#A2D2FF

Desert Sand

#D4A373
#FAEDCD
#FEFAE0
#E9EDC9
#CCD5AE

Midnight City

#0D1B2A
#1B263B
#415A77
#778DA9
#E0E1DD

Berry Smoothie

#5F0F40
#9A031E
#FB8B24
#E36414
#0F4C5C

Spring Meadow

#D9ED92
#B5E48C
#76C893
#34A0A4
#168AAD

Coffee House

#3E2723
#5D4037
#8D6E63
#D7CCC8
#EFEBE9

Nordic Frost

#EDF2F4
#8D99AE
#2B2D42
#EF233C
#D90429

Citrus Punch

#FFD60A
#FFC300
#FF8500
#FF5D8F
#E0Fbfc

Lavender Field

#E0AAFF
#C77DFF
#9D4EDD
#7B2CBF
#5A189A

Autumn Leaves

#7F4F24
#936639
#C2A878
#A67C00
#582F0E

Coral Reef

#FF7F51
#FF9E6D
#FFB997
#F7EDE2
#0E9594

Mint Fresh

#D8F3DC
#B7E4C7
#95D5B2
#52B788
#2D6A4F

Royal Velvet

#10002B
#3C096C
#7B2CBF
#C77DFF
#E0AAFF

Peach Sorbet

#FFE5D9
#FFCAD4
#F4ACB7
#9D8189
#FF8FA3

Slate & Amber

#212529
#343A40
#495057
#FFB703
#FB8500

Tropical Lagoon

#0077B6
#00B4D8
#48CAE4
#90E0EF
#ADE8F4

Rose Garden

#FFF0F3
#FFB3C1
#FF8FA3
#FF4D6D
#C9184A

Earthy Tones

#606C38
#283618
#DDA15E
#BC6C25
#FEFAE0

Neon Nights

#0D0D0D
#FF006E
#FBFF12
#3A86FF
#8338EC

Soft Pastels

#FEC5BB
#FCD5CE
#D8E2DC
#E8E8E4
#ECE4DB

Deep Sea

#001219
#005F73
#0A9396
#94D2BD
#E9D8A6

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