Color Palette Generator
Pick a base colour and a harmony rule and get a matching palette. Each swatch shows its hex, RGB and HSL values and its contrast with white and black, and the palette exports as CSS, Tailwind or JSON.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Color Palette Generator online
- Type the base colour. Hex or rgb.
- Pick a harmony. And the number of steps for shades.
- Read the contrast table. Pick safe text pairs.
- Export. CSS, Tailwind, JSON or a list.
Why use this free Color Palette Generator
- Seven harmony rules
- Hex, RGB and HSL values
- WCAG contrast with white and black
- AA and AAA labels
- CSS, Tailwind, JSON export
- Drawn swatches
Harmony rules
Colours that sit at set distances around the colour wheel tend to work together. A complementary pair is opposite. Analogous colours are neighbours. Triadic colours are three evenly spaced, tetradic are four, and a split complementary uses the two colours beside the opposite. Monochrome and shade palettes keep the hue and change the lightness. Pick one and the page works out the hues.
Reading the table
Every swatch is listed with its hex code, its RGB and HSL forms, and its contrast ratio against white and against black. The ratio follows the WCAG formula, which compares the brightness of two colours. The words next to it say whether the pair passes AA or AAA for normal text, passes for large text only, or fails.
Using contrast
Text needs enough contrast against its background to be read by people with low vision. Normal text needs at least four and a half to one for AA, and seven to one for AAA. Large text needs three to one. Use the table to pick which swatches can carry text and on which background, and test pairs with the contrast checker on this site.
Export
Choose CSS variables for a root rule, Tailwind for a colours block in the config, JSON for a plain map, or a plain list of hex codes. The names are simple numbers, so rename them to roles such as primary and accent when you use them.
Limits
A palette from a picture is not part of this page: it works from one typed colour. Harmony rules give a starting point and not a finished brand, so adjust by eye. Colours look different on different screens. All the work happens in your browser.
Using the tool
There is no button to wait for: the Color Palette Generator result follows every change. Find and replace is built into the editor with Ctrl+F and Ctrl+H.
Color Palette Generator: frequently asked questions
How do I choose a rule?
What does AA mean?
Why do some swatches fail on white?
Can I get a palette from an image?
What do the HSL numbers mean?
Can anyone see the text I put into the Color Palette Generator?
Is there a way to reuse the Color Palette Generator result?
Related searches for Color Palette Generator
- Color Palette Generator online
- free Color Palette Generator
- Color Palette Generator online free
- Color Palette Generator for mobile
- Color Palette Generator without sign up
- Color Palette Generator – Developer & Web Tools
Color Palette Generator is a free online tool on MAITBOX, in the Developer & Web Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.