Use this free color palette generator to build a balanced set of colors from one base color. Pick a color, choose a harmony, and choose 3, 5, or 7 swatches. Click any swatch to copy its hex code. Everything is calculated in your browser, so nothing you choose is sent to our servers.

A good palette has one dominant color, one or two supporting colors, and an accent. Starting from a single base color helps the colors feel related.

How to use the color palette generator

  • Choose the base color: use the swatch, or type a hex code such as #3B82F6.
  • Choose the harmony: the rule that places the other colors around the color wheel.
  • Choose how many: 3, 5, or 7 colors. The base color is always first.
  • Copy: copy one hex code by clicking its swatch, or copy the whole list.

Color harmonies at a glance

HarmonyHue positionsBest for
ComplementaryBase and the opposite hue, 180° apartStrong contrast and bold accents
AnalogousNeighbouring hues, 30° apartCalm, unified designs
TriadicThree hues, 120° apartLively, balanced palettes
SplitBase plus two hues either side of the oppositeContrast with less tension than complementary
MonochromeOne hue, varied lightnessMinimal, elegant layouts

Worked examples

A complementary accent

A blue at about 217° on the color wheel has a complement near 37°, which is an orange. Use the blue for most of the layout and the orange for buttons or highlights.

An analogous calm scheme

Choose a green, then pick the analogous harmony. The neighbouring yellow-greens and blue-greens give a soft look that suits nature or wellness themes.

A monochrome interface

Choose one blue and the monochrome harmony with 5 colors. The swatches step from dark to light, which works well for backgrounds, borders, and text.

Common mistakes

  • Using every swatch at full strength. Pick one dominant color and use the others sparingly.
  • Ignoring contrast. Light text on a light background is hard to read. Check the contrast ratio before you publish.
  • Copying colors without checking them on screen. Colors can look different on other devices, so test them in context.

Frequently asked questions

What is a color harmony?

A color harmony is a set of colors chosen by their positions on the color wheel. Harmonies such as complementary, analogous, and triadic tend to look balanced together.

What is the difference between complementary and analogous colors?

Complementary colors sit opposite each other on the color wheel, which creates strong contrast. Analogous colors sit next to each other, which creates a calm, unified look.

What is a hex color code?

A hex code such as #3B82F6 writes a color as three pairs of hexadecimal digits for red, green, and blue. Each pair ranges from 00 to FF.

How do I check that text is readable on a color?

Check the contrast ratio between the text and background. For normal body text, WCAG recommends at least 4.5 to 1. The swatches here switch between black and white text to help with this.

Is the Xornex color palette generator free?

Yes. The Xornex color palette generator is available to use free of charge.

Share this article