⚡
usefultools.dev
🎨

Color Palette Generator

NEW

Generate harmonious color palettes (complementary, analogous, triadic) and export them as CSS, HEX or PNG.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

  • #3B82F6
    rgb(59, 130, 246) · hsl(217, 91%, 60%)
  • #F6AF3B
    rgb(246, 175, 59) · hsl(37, 91%, 60%)
  • #89B4FA
    rgb(137, 180, 250) · hsl(217, 92%, 76%)
  • #FACF89
    rgb(250, 207, 137) · hsl(37, 92%, 76%)
  • #0A57D6
    rgb(10, 87, 214) · hsl(217, 91%, 44%)
⚡

Quick Examples

Typical inputs and the results this tool produces.

Triadic
#3b82f6 · Triadic
#3b82f6, #f63b82, #82f63b
Analogous
#3b82f6 · Analogous (5)
#3bf6af, #3bdff6, #3b82f6, #523bf6, #af3bf6
Mono
#3b82f6 · Monochromatic (5)
#042458 → #d1e1fa in 5 lightness steps
Split
#ff5733 · Split complementary
#ff5733, #33ffbd, #3375ff
CSS
Export as CSS variables
:root { --color-1: #3b82f6; … }
📖

Overview

A good colour palette starts from colour harmony: hues that sit at fixed angles on the colour wheel look balanced together. This colour palette generator takes one base colour, converts it to HSL and rotates the hue to build complementary (180°), analogous (±30° steps), triadic (120°), tetradic (90°), split-complementary (150° and 210°) and monochromatic (one hue, many lightness levels) palettes.

Prefer to explore? Switch to Random, press Generate and lock the swatches you like — locked colours survive every regeneration, so you can keep a brand colour and shuffle the rest. Choose 2 to 8 colours, read the HEX, RGB and HSL value of every swatch, and click Copy on any of them.

Export the whole palette as CSS custom properties, a plain HEX list, a Tailwind config snippet or a JSON array, or download a PNG strip with the HEX codes written on it for moodboards and slides. Everything is calculated in your browser; nothing is uploaded.

Why use this tool?

  • Build balanced palettes from one base colour with proven colour-wheel rules
  • Lock favourite swatches and shuffle the others
  • Copy HEX, RGB and HSL values with one click
  • Export CSS variables, Tailwind config, JSON or a PNG strip
  • Free, private, no sign-up
⭐

Features

🎡

Six harmony rules

Complementary, analogous, triadic, tetradic, split-complementary and monochromatic from any base colour.

🎲

Random palettes

Generate pleasant random colours and keep the ones you like with the lock button.

🔒

Lock colours

Locked swatches stay in place when you change the harmony, count or regenerate.

📋

Copy any value

HEX copy per swatch plus RGB and HSL values shown for every colour.

📦

Multiple exports

CSS variables, HEX list, Tailwind config snippet and JSON array.

🖼️

PNG strip

Download the palette as a labelled PNG image for moodboards and presentations.

🛠️

How to Use

1

Pick a base colour

Use the colour picker or type a HEX code such as #3b82f6 (3-digit HEX works too).

2

Choose a harmony

Select complementary, analogous, triadic and so on, and set 2–8 colours. Or choose Random.

3

Lock and regenerate

Lock swatches you want to keep, then press Regenerate or Generate random.

4

Export

Pick CSS variables, HEX, Tailwind or JSON and copy it, or download the PNG strip.

🤔

Frequently Asked Questions