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
Lock the colours you love · press Space · drop or paste an image anywhere here
Colour wheel
drag a dot to spin the paletteDistance from the centre is saturation. Locked colours stay put while you spin.
Tints & shades
of ● Deep SprucePick 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:1Colour that feels like you.
A quick look at how this palette reads on buttons, cards and text.
: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
- 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.
- Lightness and saturation are varied a little across the palette, so you get a usable range of light, mid and dark tones.
- From an image groups the photo’s pixels into clusters (k-means) and uses each cluster’s average colour.
- 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.