Skip to content

Color Picker and Palette Generator

Pick a color, get its hex, RGB and HSL values, and build a matching palette.

palette.sh

Click any swatch to copy its hex code.

How to use Color Palette Generator

  1. 01Pick a base color or paste a hex code.
  2. 02Choose a harmony — complementary, analogous, triadic or monochrome — to generate matching colors.
  3. 03Copy any swatch as hex, RGB or HSL, and check the contrast readout before using it for text.

About Color Palette Generator

Hex, RGB and HSL describe the same color in different ways. HSL is the most useful for building a palette by hand, because changing lightness while holding hue and saturation gives you a coherent set of tints and shades.

Contrast decides whether text is readable. Body text should reach a ratio of at least 4.5 to 1 against its background, and large headings at least 3 to 1 — the readout here tells you which combinations pass.

Frequently asked questions

What is a good contrast ratio?
4.5 to 1 for normal text and 3 to 1 for large text meet the widely used accessibility guideline.
What is a complementary color?
The color directly opposite on the color wheel, which gives the strongest contrast in hue.
Can I copy colors as CSS?
Yes, every swatch can be copied as a hex, rgb() or hsl() value.

Related tools and tools