Free tool · No sign-up

Free colour palette generator

Press the space bar to generate a new colour palette, lock any colour you want to keep, and keep pressing until it feels right. Choose a harmony such as analogous or triadic, edit any swatch, then copy the palette as CSS variables, Tailwind, JSON or a PNG. Everything runs in your browser.

Press Space for a new palette · hover a colour to lock, copy, edit or drag it

Export palette

          

How do I generate a colour palette?

  1. Press Space or Generate. A new palette appears each time. Space works as soon as the page loads; it is ignored while you type in a field.
  2. Lock what you like. Click the lock on a swatch to keep it. New palettes are built around your first locked colour.
  3. Pick a harmony. Auto picks a tasteful scheme for you each time; analogous, complementary, triadic and the others follow colour wheel rules.
  4. Fine-tune. Hover a colour to edit it with the pencil, drag the handle to reorder, use + between two colours to add one (up to 10), or ✕ to remove one.
  5. Export. Choose CSS, SCSS, JSON, Tailwind or a Figma hex list and copy it, download a PNG, or copy a share link.

Who is it for?

  • Designers exploring directions for a brand, app or illustration before committing in Figma.
  • Developers who need a palette quickly and want it as CSS variables or Tailwind colours, not a screenshot.
  • Founders starting a brand without a designer yet. Read how to choose a colour palette first.
  • Students and makers who want quick, free inspiration without an account.

Specs

SpecDetails
Colours per palette3 to 10
Harmony modesAuto, analogous, monochrome, complementary, split complementary, triadic, square, pastel
ExportsCSS custom properties, SCSS, JSON, Tailwind v4 @theme, Tailwind v3 config, Figma hex list, comma-separated hex, PNG
SharingThe palette is stored in the page link, for example #141414-5f4bb6-ef466f
KeyboardSpace to generate, Cmd or Ctrl + Z to undo
PrivacyRuns in your browser; no account, nothing saved on a server

What the harmony modes do

Each mode picks hues at set angles around the colour wheel from a starting colour, then spreads the lightness from dark to light so the palette has usable contrast:

  • Analogous: neighbouring hues, calm and cohesive.
  • Complementary: opposite hues, high energy.
  • Split complementary, triadic and square: three or four hues spaced around the wheel, more variety.
  • Monochrome: one hue in many shades, ideal for UI neutrals.
  • Pastel: high lightness, soft colours.

For the theory behind these schemes, see our post on PalettePicker and colour harmony.

Tips

  • Lock your brand colour first. Then generate around it to find supporting colours.
  • Keep one dark and one light. Most usable palettes need a near-black for text and a near-white for backgrounds.
  • Check contrast. Body text needs at least 4.5:1 against its background under WCAG. The hex to RGB converter shows the ratio for any colour.
  • Test it on a real screen. Colours behave differently on a full interface than in swatches; try the app colour preview.

FAQ

How do I generate a random colour palette?

Press the space bar or click Generate. Each press makes a new palette; lock any colour you like and it stays while the rest change.

Is this colour palette generator free?

Yes. It is free, needs no sign-up and runs entirely in your browser.

Can I export my palette to CSS or Tailwind?

Yes. Choose CSS variables, SCSS, JSON, Tailwind v4 @theme or a Tailwind v3 config from the Export as menu, then click Copy code.

How do I save or share a palette?

The palette is kept in the page link. Click Copy share link and send it, or bookmark the page. You can also download it as a PNG.

How many colours should a palette have?

Five is a practical starting point: a dark, a light, a primary, a secondary and an accent. The tool allows 3 to 10.

Can I put in my own colour?

Yes. Click the pencil on any swatch to choose a colour, then lock it and generate the rest around it.

Ask AI about the colour palette generator

Opens your assistant with a question about this tool, answered from this page. You can edit it before you send.

Last updated 16 November 2026. Made by Sanket Singh at Digital Sauce in Melbourne. Found a bug or want a feature? Email development@digitalsauce.io.

Need a designer who also ships code?

Digital Sauce is a Melbourne studio that designs and builds apps and websites. We made these tools for our own projects.

Start a project →