Color palette generator
Start from one colour and get schemes that go with it, ready to copy.
- 100% free
- No sign-up
- Runs in your browser
How to use Color palette generator
- Choose a base colour
- Pick a harmony
- Copy or download
Paste HEX, rgb(), hsl() or a CSS colour name, or pick one
Colour harmony
Three neighbours on the colour wheel, 30° apart. Calm and easy to combine.
Palette
Click a colour to copy its HEX code
Tints and shades
Eleven steps numbered 50 (lightest) to 950 (darkest). Your base colour sits, unchanged, on the step closest to its own lightness.
CSS variables
:root {
--color-1: #0072a4;
--color-2: #3a5bd9;
--color-3: #7a44ca;
--shade-50: #f3f7ff;
--shade-100: #e3ebff;
--shade-200: #c6d7ff;
--shade-300: #a0bbff;
--shade-400: #7b9cf5;
--shade-500: #597ce8;
--shade-600: #3a5bd9;
--shade-700: #2842b3;
--shade-800: #17298e;
--shade-900: #0a0e6b;
--shade-950: #030040;
}Next: CSS gradient generator · Contrast checker · Image color picker
Report a problem with this tool
How to use Color palette generator
Choose a base colour
Pick one, paste a HEX, rgb() or hsl() value or a colour name, or press Random colour for a fresh start.
Pick a harmony
Switch between complementary, analogous, triadic, split-complementary, tetradic, square and monochromatic and watch the palette change.
Copy or download
Click any swatch to copy its HEX code, copy the whole palette as CSS variables, a HEX list or JSON, or download it as a PNG.
Why use Utils365
Seven harmonies
From a two-colour complementary pair to a four-colour square, each with a line on when it works best.
Evenly bright colours
Hues are turned in OKLCH, so the colours in a scheme look about as light and as vivid as your base.
A full shade scale
Eleven steps named 50 to 950, the naming many design systems and CSS frameworks use, with your base on the step that matches its lightness.
Ready for your stylesheet
Export as CSS custom properties such as --color-1 and --shade-600, as JSON, or as a picture to share.
Frequently asked questions
What is a complementary colour?
The colour on the opposite side of the colour wheel, half a turn (180°) away. The pair has the strongest contrast of hue, which makes one a good accent for the other, such as blue with orange.
What’s the difference between analogous and triadic?
Analogous colours are neighbours, here 30° either side of the base, so they blend calmly. Triadic colours are 120° apart, spread evenly around the wheel, which is livelier and needs one colour to lead.
How are the colours calculated?
The base is converted to OKLCH, its hue is turned by the harmony’s angles while lightness and chroma stay the same, and the result is converted back to HEX. If a turned colour is too vivid for a normal screen, it loses just enough chroma to fit. Other tools that turn the hue in HSL give somewhat different colours.
Why do I get the same colour several times?
Your base is grey or nearly grey. Grey has no hue, so turning it changes nothing. Choose a more vivid base, or use Monochromatic, which varies lightness instead.
What do the numbers 50 to 950 mean?
They name the steps of a shade scale: 50 is the lightest tint and 950 the darkest shade. Your base colour is placed, unchanged, on the step closest to its own lightness: 500 for a mid-tone, 600 for a deeper colour like #3a5bd9, 50 for white. The other steps keep its hue and ease off its vividness towards the ends.
What does the export look like?
CSS variables give a :root block with lines like --color-1: #3a5bd9; and --shade-600: #3a5bd9;. JSON gives the same names as keys. The list is HEX codes separated by commas. The PNG is 1200 pixels wide with each code printed on its colour.
Does the base colour’s transparency carry over?
No. If you paste a see-through colour its alpha is ignored and the palette is made of solid colours.