QREndless

Color Palette Generator

Harmonious palettes from any base color, copy-ready.

100% on-device
Harmony Mode
PaletteClick a swatch to copy · Lock to keep
CSS Variables
:root {

}
Free online color palette generator building matching color palettes from a base color with hex codes

The Best Color Palette Generator

5 Harmony Modes

Random, Monochromatic, Complementary, Analogous, and Triadic. Each is computed from a base hue drawn from the Web Crypto API CSPRNG — high-quality, unpredictable palettes every click.

100% Browser-Based

All color math runs in your browser. No upload, no signup, no server call. Your palettes and your clipboard never leave your device.

Lock Colors

Coolors-style lock: pin a swatch and the rest of the palette regenerates around it. Great for refining a palette while keeping the colors you already love.

Hex · RGB · HSL · PNG

Every swatch shows hex, RGB, and HSL. One click copies a single hex; one click copies the whole palette as CSS variables; one click downloads a PNG strip.

How to Use It in 3 Steps

  1. Pick a Harmony Mode

    Random, Monochromatic, Complementary, Analogous, or Triadic. Each mode builds a 5-color palette from a base hue drawn with the Web Crypto API.

  2. Lock What You Like

    Pin any swatch with the lock icon and regenerate — locked colors stay put while the rest of the palette reshuffles around them, Coolors-style, until it feels right.

  3. Copy or Export

    Click a swatch to copy its hex, copy the whole palette as CSS custom properties, or download a 1500×300 PNG strip. Hex, RGB, and HSL are shown for every color.

Color Palette Generator for Every Need

Brand & Logo Design

Explore monochromatic and complementary schemes around a client’s favorite hue, lock the hero color, and generate supporting shades in seconds.

Websites & Landing Pages

Generate a primary + accent set, export it as CSS custom properties, and drop it straight into :root — buttons, links, and highlights stay consistent.

Design Systems

Build the base ramp: one hue at 5 lightness steps gives you a ready-made tint/shade scale for tokens like primary-100 through primary-900.

Data Visualization

Charts need 5 clearly distinct colors. Analogous and triadic modes separate hues far enough to keep every series readable at a glance.

Social Media Creators

Lock a brand color and generate matching post palettes; export the PNG strip as a reference card so every thumbnail and story stays on scheme.

Illustration & Art

Analogous palettes produce the low-contrast harmony painters use for scenes; complementary gives you the pop for focal points and shadows.

Complete Guide

Color Palette Generator: The Complete A-to-Z Guide

Color harmony modes explained, hex vs RGB vs HSL, how to lock and refine a palette, the 60-30-10 rule, contrast basics, and exporting to CSS or PNG.

What Is a Color Palette Generator?

A color palette generator produces sets of colors that look deliberate together, based on color theory rather than trial and error. Instead of nudging sliders until something clicks, you pick a harmony — shades of one hue, opposites, neighbors, or a triangle — and get five coordinated swatches with their hex, RGB, and HSL values. This generator runs the math in HSL inside your browser and seeds every palette from crypto.getRandomValues, so clicking Regenerate genuinely explores new territory instead of cycling through the same few combos.

The 5 Harmony Modes Explained

  • Monochromatic — one hue, five lightness steps (25% → 85%). The safest scheme and the backbone of most design systems: your brand color plus its tints and shades for hover states, backgrounds, and borders.
  • Complementary — a hue plus the one 180° across the wheel (blue vs orange, purple vs yellow). Maximum contrast and energy; use one as the workhorse and the other as the accent, or the design vibrates.
  • Analogous — neighbors within ±60° (teal → blue → violet). Calm and cohesive, common in nature photography and illustration; differentiate with lightness rather than hue.
  • Triadic — three hues 120° apart (red-yellow-blue territory). Vibrant but balanced — the classic playbook for playful brands, infographics, and charts where categories must not blur together.
  • Random — five unconstrained colors for pure exploration. Great for a spark; refine with the lock feature afterward.

Hex, RGB, and HSL: Which Format When

Every swatch shows all three because each has a job. Hex (#3B82F6) is the design hand-off standard — compact, universal in CSS and design tools. RGB is what screens actually mix, and what you need for rgba() alpha work. HSL is the one worth learning: because it maps to how humans describe color, it makes systematic edits trivial — hsl(217, 91%, 60%) can be darkened to 45% lightness or desaturated to 60% saturation with one number changing. That is exactly how the monochromatic mode here builds its five shades: same hue and saturation, five lightness values.

Refining with the Lock Feature

Random generation is a starting point, not a finished palette. The lock turns it into a conversation: pin the two colors you love, hit Regenerate, and the tool keeps them verbatim while replacing only the rest. Workflow that works: lock your brand color first, add locks to whatever survives a regeneration round, and unlock anything that stops earning its place. In monochromatic mode this effectively lets you steer lightness and saturation while the hue stays fixed; in complementary mode it lets you find the perfect opposite after the base is set.

Build a 60-30-10 Layout Around the Palette

Five colors is more than one screen needs. The interior-design 60-30-10 rule maps cleanly onto a generated palette: pick the most neutral swatch for ~60% of the surface (backgrounds, large areas), a secondary for ~30% (cards, sections), and the boldest for ~10% (buttons, links, badges). The two leftover colors become states — hover, focus ring, success, or chart series. If everything screams, nothing is heard; reserving the complementary partner for accents is what makes complementary schemes work in practice.

Contrast and Accessibility Basics

Pretty palettes can still fail readability. WCAG requires a contrast ratio of 4.5:1 for body text and 3:1 for large text against its background. Two fast checks: never put mid-tone text on a mid-tone swatch, and when a swatch carries a label, the tool automatically flips its text between black and white using relative luminance — the same calculation you should apply to buttons. If your brand color is too light for white text, generate a darker shade of the same hue (drop the HSL lightness 15–20 points) rather than switching hue.

Exporting: CSS Variables and PNG

Copy All CSS emits a ready-to-paste block — :root { --color-1: #...; } — the custom-property format every modern stylesheet, Tailwind config, and CSS-in-JS setup consumes. Rename the variables semantically (--color-primary, --color-accent) before committing. Download PNG produces a 1500×300 strip of the five colors: attach it to a ticket, drop it in a mood board, or keep it as the palette’s shareable source of truth.

Step-by-Step: Using the Color Palette Generator

  1. Choose a harmony mode. Monochromatic for dependable systems, complementary for contrast, analogous for calm, triadic for vibrant variety.
  2. Regenerate until a swatch catches your eye.
  3. Lock the keepers and regenerate again — the palette converges toward what you want without losing what you had.
  4. Read the HSL values to understand the scheme (are the hues 30° apart? 180°?).
  5. Copy All CSS for development, single-swatch click for quick one-off values.
  6. Download the PNG strip for documentation, hand-offs, and mood boards.

Ready to Generate Your Palette?

You know what each harmony mode produces, which format to copy where, how the lock converges a random palette into a deliberate one, and how to apply 60-30-10 and contrast rules. Scroll back up, pick a mode, and lock your way to a palette worth shipping.

Jump back to the color palette generator above ↑

Frequently Asked Questions

Everything you need to know about color palette generator.
Is this color palette generator free to use?

Yes — 100% free with no signup, no daily limit, and no watermark. Generate as many palettes as you like, on any device. All processing happens in your browser.

What harmony modes are available?

Five: Random (5 fully random colors), Monochromatic (5 shades/tints of one base hue), Complementary (base hue + its opposite), Analogous (3 hues 30° apart + variants), and Triadic (3 hues 120° apart + tints of the base).

How does the lock feature work?

Click the lock icon on any swatch to pin it. When you regenerate (or switch modes), locked colors stay exactly where they are, and the others regenerate around them. Click again to unlock.

How do I export the palette?

Two ways: (1) "Copy All CSS" copies a `:root { --color-1: ...; --color-2: ...; }` block ready to paste into your stylesheet; (2) "Download PNG" exports a 1500×300 image strip of the 5 colors side by side.

Are the colors truly random?

Yes. The base hue and saturation seed come from `crypto.getRandomValues`, the same cryptographic RNG browsers use for TLS. This gives genuinely unpredictable, high-quality palettes — not the streaky output of `Math.random()`.

Ready to use the Color Palette Generator?

Open the tool