Color Palette Generator

Generate harmonious color palettes and color schemes, and see them on real designs right away. Lock the colors you like and keep exploring.

Colors5
USE IN CODE

Copy as code

Pick a format, how colors are named and how values are written.

Names
Values

GOOD TO KNOW

About the color palette generator

A color palette generator that shows real designs

Most generators show a row of swatches and leave you to imagine the rest. This one applies your colors to a landing page, a dashboard, a mobile app and a brand board as you generate, so you can see whether a palette works before you commit to it.

Lock the colors you like, press Space and keep exploring. The URL always contains your colors, so you can bookmark or share the palette.

Color harmonies

Harmonies are rules for choosing colors that go together by their position on the color wheel. Analogous colors sit next to each other and feel calm. Complementary colors sit opposite and create strong contrast. Split-complementary softens that contrast, triadic uses three evenly spaced hues, and monochromatic keeps one hue and varies lightness and saturation. Random mixes them for surprising results.

How colors get their roles

Each color is given a role, such as background, surface, text, accent or highlight, based on its lightness and contrast. That is why the previews stay readable even when the palette changes completely. The legend under the preview shows which color does which job.

Use your palette in code

Copy the colors as HEX, or export them as CSS, SCSS, JSON, TypeScript, Swift or Kotlin from the code section. For ready-made combinations to start from, browse the curated palettes.

COLOR THEORY

Color harmonies, with real examples

Each example below was generated with the matching harmony setting. Select one to open it in the generator and keep going.

GUIDE

How many colors does a palette need?

Recommended palette sizes
ColorsTypical rolesWorks well for
2 – 3Background, text and one accentMinimal sites, posters, simple logos
4 – 5Background, surface, text, accent and highlightWebsites, apps and dashboards
6 – 8The above plus status colors or extra accentsDesign systems, data visualization, brand identities
BROWSE

Or start from a ready-made style

FREE DOWNLOADS

Download the reference files

Five color harmonies shown on the color wheel
HOW IT WORKS

Using the color palette generator

FAQ

Frequently asked questions

How do I generate a color palette?

Press Space or the Generate button. Lock any colors you want to keep, pick a harmony and the number of colors (2 to 8), then generate again.

What is the best color harmony to start with?

Analogous gives calm, cohesive results, complementary gives energy and contrast, and monochromatic is the safest for minimal designs. Random is good for inspiration.

Can I start from my own color?

Yes. Click a color to type a HEX value and lock it. The other colors follow the chosen harmony based on the first locked color.

How do I share or save a palette?

Use Copy share link, or bookmark the page: the URL holds your colors. You can also copy the HEX codes or export code.

Is the palette generator free?

Yes. It is free, needs no account and runs entirely in your browser.

KEEP GOING
All tools ↗