Interactive Palette Generator

Press Space or click Generate to create a palette. Lock colors you love, drag to reorder, and simulate color blindness.

or press Space

Palette History

How It Works

Four steps from blank canvas to a palette you love.

1

Generate a random palette

Click the Generate button or press Space on your keyboard. Five colors are picked at random using HSL color math — each with a balanced saturation and lightness so you never get muddy or washed-out results.

2

Lock the colors you want to keep

Click the 🔓 icon on any swatch to lock it. Locked colors are frozen in place — the next time you generate, only the unlocked swatches change. Keep locking and regenerating until every color is exactly right.

3

Drag to reorder

Grab any swatch and drag it left or right to swap its position. The lock state travels with the color, so your locked swatches stay locked after a reorder. This lets you arrange colors from light to dark or by visual weight.

4

Copy any HEX code

Hover a swatch to reveal its HEX code, then click to copy it to your clipboard. Paste directly into Figma, CSS custom properties, Tailwind config, Canva, or any design tool that accepts HEX values.

How Color Blindness Simulation Works

See your palette through different eyes before you ship.

1

Choose a vision type from the dropdown

Select Protanopia, Deuteranopia, Tritanopia, or Achromatopsia from the Color Blindness dropdown in the toolbar. The palette updates instantly — no page reload needed.

2

A color matrix is applied in the browser

Each HEX color is converted to RGB, then multiplied by a clinically-derived simulation matrix. The result approximates how someone with that vision type perceives the color — all computed locally, no server involved.

3

Your original colors are preserved

Simulation mode only changes what is displayed — the underlying HEX values are never modified. Switch the dropdown back to Off and your original palette is exactly as you left it. Copying a swatch always copies the real HEX, not the simulated one.

How Palette History Works

1

Every generation is saved automatically

Each time you generate a new palette, the previous one is pushed into the history strip below the tool. Up to 20 palettes are stored per session — no account or login required.

2

Click any history card to restore it

Spotted a palette you liked three generations ago? Click its card in the history strip and it loads back into the main palette instantly. The palette you were working on is pushed to the top of history so you never lose it.

How Shareable Palette URLs Work

Every palette you generate gets a permanent link — no account, no database, no expiry.

1

Click ⤢ Share to copy the palette URL

The Share button in the toolbar builds a URL from the 5 current HEX codes and copies it to your clipboard instantly — for example /palette/3A86FF-FF006E-FFBE0B-FB5607-8338EC/. No server request is made.

2

The HEX codes live in the URL path, not a database

The 5 colors are joined with dashes and placed directly in the path. There is no palette ID to look up and no record stored anywhere — the URL itself is the palette. It works forever as long as the domain is live.

3

A Cloudflare rewrite serves every /palette/* URL from one static page

A single rewrite rule catches any /palette/HEX1-HEX2-HEX3-HEX4-HEX5/ path and serves the palette page with a 200 status — not a redirect. The hex slug stays visible in the address bar so search engines can index each URL independently.

4

The palette page parses the colors from the path on load

location.pathname is split on dashes and each segment is validated as a 6-character hex code. Valid palettes render swatches, HEX, RGB, and HSL codes instantly. Invalid URLs show a friendly error with a link back to this generator.

Shareable Palette URL — Common Questions

Answers to what people search for most about palette links.

How do I share a random color palette I generated?
Click the ⤢ Share button in the toolbar. It copies a permanent URL to your clipboard — for example freecolorpalette.com/palette/3A86FF-FF006E-FFBE0B-FB5607-8338EC/. Paste it into Slack, email, Notion, or a Figma comment. Anyone who opens the link sees the exact same 5 colors instantly, with no login required.
Can I bookmark a generated color palette?
Yes. Click ⤢ Share to copy the URL, then paste it into your browser address bar and bookmark it. The colors are encoded in the path itself, so the bookmark will always open the same palette — no account, no expiry, no database entry to lose.
Does the shareable palette link expire?
No. The palette data is stored entirely in the URL — there is nothing server-side to expire or delete. The link works as long as freecolorpalette.com is live.
Can I share a palette with locked colors only?
The Share button always copies all 5 current colors regardless of lock state. Lock the colors you want to keep, generate until the remaining swatches are right, then click ⤢ Share to capture the final palette as a permanent link.
What does the shareable palette URL look like?
It follows the pattern freecolorpalette.com/palette/HEX1-HEX2-HEX3-HEX4-HEX5/ — five 6-character HEX codes without the # symbol, separated by dashes. For example: /palette/3A86FF-FF006E-FFBE0B-FB5607-8338EC/. You can also construct one manually by typing any 5 valid HEX codes into that pattern.
Can I copy and download the palette from the shared link?
Yes. The palette page at the shared URL shows all 5 colors with HEX, RGB, and HSL codes. Click any swatch or code to copy it, use ⧉ to copy all HEX codes at once, or click ↓ to download a labeled PNG swatch sheet — all free, no account needed.

Common Questions

Answers to what people search for most.

What is a random color palette generator?
A random color palette generator creates a set of colors automatically without requiring a base color as input. This tool generates five colors at once using HSL randomization, giving you a full palette in one click — or one spacebar press — rather than building harmonies from a single seed color.
How do I generate a color palette with locked colors?
Click the lock icon on any swatch to freeze that color. Then press Space or click Generate — only the unlocked swatches change. Repeat until every position has a color you like. This workflow is faster than starting over from scratch each time.
Can I reorder colors in a palette?
Yes. Drag any swatch left or right to swap it with another. The lock state moves with the color, so locked swatches stay locked after a reorder. This is useful for arranging a palette from lightest to darkest, or grouping warm and cool tones together.
What is a color blindness simulator?
A color blindness simulator applies a mathematical transformation to your colors to approximate how they appear to people with different types of color vision deficiency. This tool supports Protanopia (red-blind), Deuteranopia (green-blind), Tritanopia (blue-blind), and Achromatopsia (no color perception). Use it to check whether your palette is distinguishable for all users before finalizing a design.
What is Protanopia?
Protanopia is a type of red-green color blindness caused by the absence of red-sensitive cone cells in the eye. People with protanopia cannot distinguish red from green and perceive reds as dark or black. It affects roughly 1% of males. Use the Protanopia simulation mode to check whether your palette relies too heavily on red as a distinguishing color.
What is Deuteranopia?
Deuteranopia is the most common form of color blindness, affecting about 6% of males. It is caused by missing green-sensitive cones, making it difficult to distinguish red from green. Greens, yellows, and reds can all appear as similar brownish or yellowish tones. Checking your palette under Deuteranopia simulation is the most important accessibility test for most design projects.
What is Tritanopia?
Tritanopia is a rare form of color blindness caused by missing blue-sensitive cone cells. People with tritanopia confuse blue with green and yellow with violet. It affects less than 0.01% of the population but is worth checking if your palette relies on blue-yellow contrast for meaning or hierarchy.
What is Achromatopsia?
Achromatopsia is complete color blindness — the inability to perceive any color at all. Everything appears in shades of grey. It is extremely rare but represents the most extreme accessibility test. If your palette is still readable and distinguishable in Achromatopsia mode, it will work for virtually every user.
How do I make a color-blind friendly palette?
Switch through the color blindness simulation modes and check whether your swatches still look distinct from each other. If two colors merge into the same tone under Deuteranopia or Protanopia, replace one with a color that differs in lightness rather than just hue. Avoid relying on red-green contrast alone — add a difference in brightness or use a pattern alongside color to convey meaning.
How do I generate a pastel color palette?
Keep pressing Space until you see light, soft tones — pastels have high lightness and low-to-medium saturation in HSL. When a pastel appears, lock it immediately, then keep generating the remaining swatches. You can also start with a pastel base in the Color Palette Generator tool and use the Shades row to get a full pastel range.
Does this tool save my palettes?
The history strip stores up to 20 palettes per browser session in memory. Closing or refreshing the tab clears the history. To save a palette permanently, copy the HEX codes from each swatch and paste them into your design tool, a notes app, or a CSS file.
Can I use these colors in Figma, CSS, or Tailwind?
Yes. Hover any swatch to reveal its HEX code, then click to copy it. Paste directly into Figma's color picker, a CSS custom property, Tailwind's theme config, Canva, Adobe XD, or any tool that accepts HEX values. No conversion or account needed.
What is the difference between this tool and the Color Palette Generator?
The Color Palette Generator starts from a HEX color you provide and derives harmonies from it — complementary, analogous, triadic, and shades. This Interactive Palette Generator starts from scratch with five random colors and lets you lock, regenerate, and reorder freely. Use the harmony tool when you have a brand color to build from; use this tool when you want to explore freely or need inspiration.
Is this color palette generator free?
Yes, completely free. No account, no signup, no watermark. Generate, lock, reorder, and copy as many palettes as you like. The color blindness simulator and palette history are also free with no usage limits.
Copied!