Loading Kaushal Patel

Free tool · Design

Color Palette Generator

Press space for a fresh palette, lock the colours you love and let harmonies fill the rest. Pull colours from a photo, check contrast, preview them in a real interface and export to CSS or Tailwind.

  • Free, no sign-up
  • Runs in your browser
  • Nothing is saved or sent
Deep Sprucergb 38, 70, 83 · hsl 197, 37%, 24%AAA · 10.1
Lagoonrgb 42, 157, 143 · hsl 173, 58%, 39%AA · 5.7
Honeyrgb 233, 196, 106 · hsl 43, 74%, 66%AAA · 11.3
Apricotrgb 244, 162, 97 · hsl 27, 87%, 67%AAA · 9.2
Terracottargb 231, 111, 81 · hsl 12, 76%, 61%AA · 6.1

Lock the colours you love · press Space · drop or paste an image anywhere here

Colour wheel

drag a dot to spin the palette

Distance from the centre is saturation. Locked colours stay put while you spin.

Tints & shades

of ● Deep Spruce

Pick a swatch or a wheel dot to build its scale. Click any step to copy it.

In a real interface

text on background 4.9:1
● StudioWorkAboutContact
New collection

Colour that feels like you.

A quick look at how this palette reads on buttons, cards and text.

Get startedLearn more
:root {
  --color-1: #264653; /* deep-spruce */
  --color-2: #2a9d8f; /* lagoon */
  --color-3: #e9c46a; /* honey */
  --color-4: #f4a261; /* apricot */
  --color-5: #e76f51; /* terracotta */
}

How it works

Colour theory, automated

  1. Every colour is converted to hue, saturation and lightness. Harmonies rotate the hue around the colour wheel: ±18–36° for analogous, 180° for complementary, 120° for triadic.
  2. Lightness and saturation are varied a little across the palette, so you get a usable range of light, mid and dark tones.
  3. From an image groups the photo’s pixels into clusters (k-means) and uses each cluster’s average colour.
  4. The interface preview assigns roles by lightness: the darkest colour becomes text, the lightest the background, the most vivid the buttons.

Building a brand? Make sure the site is found too: create search-ready tags with the SEO meta tag generator, and read what a CMS is and how it helps your website.

Questions

Frequently asked

How do I generate a colour palette?

Press Generate (or the space bar) for a new palette. Pick a harmony such as analogous or complementary, lock any colour you like with the padlock, and generate again: new colours are built around the locked one.

What are colour harmonies?

They are combinations based on positions on the colour wheel. Analogous colours sit next to each other and feel calm; complementary colours are opposite and create contrast; triadic and tetradic use three or four evenly spaced hues; monochrome uses one hue at different lightness levels.

Can I get a palette from a photo or logo?

Yes. Choose “From an image” and upload a photo, logo or screenshot. The tool finds its dominant colours on your device using k-means clustering. The image is never uploaded anywhere.

What do the AA and AAA labels mean?

They are WCAG accessibility levels for text contrast. A ratio of 4.5:1 or more passes AA for normal text, 7:1 passes AAA, and 3:1 is enough only for large text. Each swatch shows the best ratio it reaches with black or white text.

How do I use the palette in my website?

Open the export panel and copy CSS variables, SCSS variables, a Tailwind colour scale or JSON. The Share link button copies a URL that reopens this exact palette.

Contrast ratios follow the WCAG 2.x formula. Colours may look slightly different on other screens and in print; check important brand colours on the final medium.