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.
Copy as code
Pick a format, how colors are named and how values are written.
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 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.
- Open in generator ↗AnalogousNeighbors on the wheel. Calm, cohesive and easy on the eye.
- Open in generator ↗ComplementaryOpposites on the wheel. High energy and strong contrast.
- Open in generator ↗Split-complementaryOne color plus the two beside its opposite. Contrast with less tension.
- Open in generator ↗TriadicThree evenly spaced hues. Playful and balanced when one leads.
- Open in generator ↗MonochromaticOne hue in many lightness levels. Minimal and elegant.
How many colors does a palette need?
| Colors | Typical roles | Works well for |
|---|---|---|
| 2 – 3 | Background, text and one accent | Minimal sites, posters, simple logos |
| 4 – 5 | Background, surface, text, accent and highlight | Websites, apps and dashboards |
| 6 – 8 | The above plus status colors or extra accents | Design systems, data visualization, brand identities |
Or start from a ready-made style
Download the reference files
Using the color palette generator
- Press Space or Generate for a new palette. Locked colors stay, and the others follow the chosen harmony, based on the first locked color.
- Click a color to pick a new one or type a HEX value. Use − and + (or the + tile) to work with 2 to 8 colors.
- Every change shows up on a landing page, dashboard, mobile app and brand board. Each color gets a role chosen for readable contrast; the legend under the preview shows which color does what. The page URL always holds your colors, so you can bookmark or share it.
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.