Colour palette generator
Make a colour palette from one colour: lighter and darker shades, or matching colours from the colour wheel. Copy each HEX code, or all of them as CSS.
Your files stay on your device. Nothing is uploaded.
Step 1: Choose a base colour
Step 2: Your palette
How to make a colour palette
-
Choose a base colour
Pick a colour, type its code, or click Random colour for ideas. Your brand colour is a good start.
-
Choose the palette type
Shades for one-colour designs, or a colour-wheel harmony for matching colours.
-
Copy the colours
Click Copy on any colour, or Copy CSS to get all of them as CSS variables.
About this tool
The palette types
| Type | How it is made |
|---|---|
| Shades | Same hue, lightness from 92% to 20% |
| Analogous | Neighbours, 30° apart on the colour wheel |
| Complementary | The opposite colour, 180° away |
| Split complementary | 150° and 210° away |
| Triadic | Three colours, 120° apart |
| Tetradic | Four colours, 90° apart |
Using a palette
A common rule is 60-30-10: one main colour for most of the design, a second for about a third, and an accent for buttons and highlights. Shades of one colour give backgrounds, borders and text that always match.
Check text contrast
Before putting text on a colour, check its contrast with the HEX to RGB converter, which shows whether white or black text passes WCAG.
Privacy
This tool runs in your browser, on your own device. Your files and text are not uploaded to our server and we cannot see them. When you close or reload this tab, they are cleared, along with the results.
Frequently asked questions
What do the CSS variables look like?
A :root block with --colour-1, --colour-2 and so on. Paste it into your stylesheet and use the colours as var(--colour-1).
Can I get a palette from a photo?
Pick colours from a photo with Colour picker from image, then use one as the base colour here.
Is the random colour truly random?
Yes, it uses your browser's secure random number generator.
Is anything sent to a server?
No. The palette is made in your browser.
Related tools
- HEX ⇄ RGB HEX to RGB converter Convert colour codes between HEX, RGB and HSL.
- COLOR Color picker from image Pick colors from an image and copy HEX, RGB and HSL codes.
- PNG › ICO Favicon generator Make favicon.ico and app icons from one image.
- SVG › PNG SVG to PNG Turn SVG drawings into sharp PNG images at any size.
- PNG › SVG PNG to SVG Trace a PNG or JPG into a scalable SVG drawing.
- Image › text Image to Base64 Turn an image into a Base64 data URI for code.
- Aa › AA Case converter Change text to upper, lower, title or sentence case.
- QR QR code generator Make a static QR code for a link, text, Wi-Fi, email or phone.