RankingsBlog
English

Color Palette Generator — Color Scheme Ideas

Generate 3–8 color palettes by scheme, lock colors, copy HEX/RGB/HSL and export CSS, JSON or Tailwind

Runs in your browser · nothing is uploaded

Press the space bar outside a text field to generate again. Locked colors stay in place and the rest are picked to match them.

5-color palette: #1e90ff, #3d3eff, #00fefd, #ac5bff, #00e06e

  • #1e90ff
    Color 1
    HEX#1e90ff
    RGBrgb(30, 144, 255)
    HSLhsl(210, 100%, 56%)
  • #3d3eff
    Color 2
    HEX#3d3eff
    RGBrgb(61, 62, 255)
    HSLhsl(240, 100%, 62%)
  • #00fefd
    Color 3
    HEX#00fefd
    RGBrgb(0, 254, 253)
    HSLhsl(180, 100%, 50%)
  • #ac5bff
    Color 4
    HEX#ac5bff
    RGBrgb(172, 91, 255)
    HSLhsl(270, 100%, 68%)
  • #00e06e
    Color 5
    HEX#00e06e
    RGBrgb(0, 224, 110)
    HSLhsl(149, 100%, 44%)

Opening this address shows the current palette. Only the color values go into the link; nothing is stored on a server.

Overview

Picking one color is easy; finding four more that work with it is the hard part. This generator applies classic color-wheel rules to a base color and gives you 3 to 8 matching colors at once. Lock the colors you like and keep regenerating the rest until the set feels right.

How to use

  1. Choose a color scheme and the number of colors. Analogous and split complementary are safe starting points.
  2. If you already have a brand color, type it as HEX in Base color or pick it with the color picker.
  3. Press Generate new palette, or press the space bar anywhere outside a text field, to get a new combination.
  4. Press Lock on any color you want to keep. It stays in place, and the next colors are chosen to match it.
  5. Copy each color as HEX, RGB or HSL, or choose CSS variables, JSON or Tailwind below and copy the whole snippet. Send the share link to open the same palette elsewhere.

How the schemes work

  • Hues are placed on the HSL color wheel: complementary at 180°, split complementary at 150° and 210°, triadic every 120°, tetradic every 90° (a square) and analogous up to 75° either side of the base. Monochromatic keeps the hue and spreads lightness from dark to light.
  • When a hue comes round again in a longer palette, it is shifted lighter or darker so you get tints and shades rather than duplicates.
  • Random colors are drawn with saturation 45–90% and lightness 30–75%, which avoids muddy grays and washed-out near-whites.
  • Randomness comes from the browser’s crypto.getRandomValues. All calculations and exports happen in your browser.

Examples

Base Scheme Part of the result
#ff0000 Complementary Red and a cyan (#00ffff family)
#ff0000 Triadic Red, a green at 120° and a blue at 240°
#1e90ff Monochromatic The same blue from deep navy to pale sky

The CSS export looks like :root { --color-1: #1e90ff; ... }, ready to paste into a stylesheet.

FAQ

Why does the same scheme give a different palette each time?

The generate button and the space bar draw a new base color each time. If a color is locked, it becomes the base and the other colors get small saturation and lightness variations, so you see a fresh combination. A base color you type yourself is not varied, so the same value always gives the same palette.

What does the share link contain?

Only the HEX values, for example ?colors=1e90ff,ff6347. Nothing is saved on a server; the browser that opens the link reads the values and redraws the palette. If any value is not a six-digit HEX code, or there are fewer than 3 or more than 8 colors, the whole link is ignored and the default palette is shown.

Can I use these colors for text?

Colors that look good together are not automatically readable as text on each other. Check any text and background pair in the color contrast checker; body text needs at least 4.5:1 under WCAG AA.

What is the difference between the Tailwind v4 and v3 exports?

Tailwind v4 reads theme variables such as --color-palette-1 from an @theme block in your CSS and creates classes like bg-palette-1. Tailwind v3 expects the colors in theme.extend.colors in tailwind.config.js. Pick the one that matches your project.

Missing a tool?