Color Palette Generator
Generate colour palettes that work together — random, monochrome, analogous, complementary or triadic. Lock the colours you like, shuffle the rest, then export CSS, Tailwind or a PNG.
Press Space for a new palette. Lock a colour to keep it, use the pencil to set your own, click a hex code to copy it, or click a colour's name to open its page.
How to use the color palette generator
Press Generate, or the spacebar, for a new palette. When you see a colour you like, click its padlock to lock it, then generate again: the locked colours stay and the rest are rebuilt to match them. Use the pencil to set a colour yourself, such as a brand colour, and the slider to choose between three and eight colours. Undo takes you back one step if you skip past a good palette.
Random, monochrome, analogous, complementary and triadic
Each palette type is a different rule from colour theory. Random spreads the hues by a random amount and runs from dark to light, which gives the most varied palettes. Monochrome keeps one hue and changes only how light and how strong it is, which is a safe choice for interfaces and charts. Analogous uses neighbours on the colour wheel, so the result feels calm. Complementary pairs a hue with its opposite for strong contrast, and triadic uses three hues spaced evenly around the wheel.
Why the palettes look even
The colours are picked in OKLCH, a colour space where a step in lightness looks the same size for every hue. That is why each palette has a clear dark, middle and light colour, and no two colours fight for the same job. When a colour would be too strong for a normal screen, the generator lowers its strength and keeps its hue and lightness.
Export to CSS, Tailwind, SCSS, JSON or PNG
Copy the palette as CSS variables, a Tailwind v4 @theme block, a Tailwind v3 theme.extend.colors config, SCSS variables, JSON or a plain array for charts. Each variable is named after the nearest named colour, so you get --crimson and not --color-1. Download PNG saves the swatches with their hex codes, and Copy link gives you a link that opens the same palette.
Every colour links to its own page with all its codes, tints and shades: browse colour names A–Z or the shades of each colour. For interface colours, the Dark Mode Palette Generator builds a dark and a light theme from one colour. To start from a photo, use Color Palette from Image. To turn a palette into a gradient, use Open as a gradient or the Gradient Generator. To cut a gradient into even colour steps, use the Gradient Palette Generator, and to change formats, the Color Converter.
