Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

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.

How to use Color Palette Generator online

  1. Type the base colour. Hex or rgb.
  2. Pick a harmony. And the number of steps for shades.
  3. Read the contrast table. Pick safe text pairs.
  4. 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?
Complementary gives strong contrast, analogous gives calm, and monochrome keeps one mood. Try each.
What does AA mean?
A level of the WCAG guidelines that asks for a contrast of at least four and a half to one for normal text.
Why do some swatches fail on white?
They are too light, so white text on them is hard to read. Use black text on those.
Can I get a palette from an image?
Not on this page. Type a colour from the image instead.
What do the HSL numbers mean?
Hue in degrees on the wheel, then saturation and lightness as percentages.
Can anyone see the text I put into the Color Palette Generator?
The Color Palette Generator works locally, and clearing the site data removes anything the editor saved.
Is there a way to reuse the Color Palette Generator result?
Save the Color Palette Generator result as a text file, or copy it from the result box.

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.

More tools in Developer & Web Tools →

Search tools