Color Palette Generator

Pick a count, get a palette. Click a swatch to copy its hex.

How the palette is built

Colors are spaced evenly around a random hue with some jitter, kept in a saturation and lightness range that tends to look intentional rather than muddy. Every click gives a fresh combination — good for a quick mood board, a design starting point, or just picking a color scheme fast.

Why HSL instead of picking hex codes directly

Colors here are generated in HSL (hue, saturation, lightness) rather than raw RGB or hex, because HSL maps much more directly to how people actually think about color — hue is the color itself, saturation is how vivid or muted it is, lightness is how close to black or white it sits. Spacing hues evenly around the color wheel while holding saturation and lightness in a consistent range is what keeps a randomly generated palette from looking like it was thrown together — the colors relate to each other by construction, not by luck.

Using a generated palette in a real project

A palette straight off this generator works well as a starting point for a mood board, a quick mockup, or a personal project, but a production brand or app usually wants one more deliberate step: picking which swatch becomes the dominant background, which becomes the accent used sparingly for buttons and links, and checking that text placed over any swatch stays readable (a light, low-contrast swatch can look great in isolation and still fail as a background for body text). Regenerating a few times and keeping only the palette that already has one clear standout accent color saves that step for you.

Copying and using the hex codes

Every generated swatch shows its hex code and can be tapped to copy it straight to your clipboard — no manual typing, no risk of transcribing a hex value wrong by hand. Hex codes work directly in CSS, design tools like Figma, and most image editors, so a generated palette here can go straight into a real project's code or design file without any format conversion.