Color Palette Generator

Generate color harmonies, tints and shades with editable blue or green example palettes.

On-device No sign-up Free to use

Create color palette controls

?

Opaque #RGB or #RRGGBB.

?

For example, three tints at 20% use 20%, 40% and 60% white. Mixing uses encoded sRGB channels.

Processed in your browser. Your inputs stay on this device.

Showing an example. Change the fields, then use create color palette to update it.

Result

Showing an example.

Generate red and cyan with one 20% tint and one 20% shade of each.

Generated 6 colors using complementary hue spacing.

Loading the tool. Your result will appear here.

https://usefreetools.net/color-palette-generator · 20 November 2026

Was this helpful?

How to use Color Palette Generator

  1. Enter an opaque #RGB or #RRGGBB base color, or choose an editable palette example.
  2. Choose a hue harmony and how many tints and shades to add for each harmony color. Set the white or black mixing increment.
  3. Select Create color palette and compare the named HEX, RGB and HSL values. Copy or download the CSS variables or JSON; enable the PNG option if you also want a color strip.
  4. Assign colors to real roles such as text, surface and accent, then check the exact foreground/background pairs in Contrast Checker.

Example: Color Palette Generator

Generate red and cyan with one 20% tint and one 20% shade of each.

You add
Base color: #ff0000; Hue harmony: complementary; Tints per harmony color: 1; Shades per harmony color: 1; White or black mixing increment (%): 20; Also export a PNG color strip: false
You get
Generated 6 colors using complementary hue spacing.

Options

Base color and harmony
Complementary uses the base and opposite hue. Analogous adds hues 30° either side; triadic uses 120° spacing; split complementary adds 150° and 210°. Hue spacing does not establish contrast or perceptual harmony.
Tints, shades and increment
Choose zero to four tints and zero to four shades for every harmony color. The increment is a whole percentage from 1 to 25. Three tints at 20% mix in 20%, 40% and 60% white; shades use black. Mixing uses encoded sRGB channels.
Export formats
CSS contains named --palette-* variables and JSON keeps color values and mixing details. The optional PNG is a strip of the generated colors; it does not label their roles in your design.

Supported inputs and limits

  • Opaque sRGB hex inputs only, with four fixed HSL hue harmonies and up to 27 color entries.
  • Counts range from zero to four tints and shades per harmony color; mixing increments range from 1% to 25%.
  • RGB channels are rounded to whole bytes and repeated colors keep their separate token names.
  • Optional PNG output is at most 1728 × 96 pixels and 2 MiB.
  • The tool does not sample an image, generate random palettes, lock swatches or export ASE or Tailwind settings.
More details

Hue spacing and encoded sRGB mixing do not measure perceptual similarity or accessibility; check contrast separately.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Select colors for an actual role

Decide which value is a surface, text color, border or accent before using the palette in an interface. Hue spacing and optional PNG strips help compare candidates, but contrast must be checked for the exact foreground/background pair and text size. The generated colors do not automatically become theme variables or change another page.

Questions about Color Palette Generator

Does complementary mean accessible?

No. Hue separation does not establish text contrast, focus visibility or color-blind usability.

Why can gray produce a limited palette?

A gray color has no meaningful saturation, so changing hue alone may leave it visually unchanged.

Does this sample an image?

No. It derives colors from your entered base and the selected mathematical harmony.

Page updated · Project managed by Tony Hines · Report a problem with Color Palette Generator