Gradient Generator
Build CSS linear and radial gradients visually and copy the code.
See your palette as a real interface instead of swatches.
The assignment appears here
The Color Palette Visualizer applies your palette to a real interface — cards, buttons, forms, a chart, body text — in the proportions a design actually uses, then shows it in dark mode, in greyscale and under every colour vision simulation.
Swatches lie. A palette that looks balanced as five equal rectangles falls apart the moment the colours are used in the proportions an interface actually uses them: one dominant background, a lot of neutral, and a few percent of accent.
This applies your palette to a real layout — a page with a header, cards, buttons in every state, form fields, a chart, a table and body text — so you are judging it the way it will be seen. Colours are assigned by role, and any role can be reassigned to a different swatch.
It also shows the palette in the conditions it will actually meet. Both themes, the whole thing in greyscale, and each of the colour vision deficiency simulations, because a palette that only works in one of those is not finished. Every text and background pairing in the preview is contrast-checked, and the failures are listed rather than left to be noticed.
One dominant background, a lot of neutral, a few percent of accent — not five equal rectangles.
Assign any colour to background, text, primary or accent and see the result immediately.
Dark mode, greyscale and the colour vision simulations, because a palette that works in only one of them is not finished.
Every text and background pair in the preview is contrast-checked, and the ones that fail are named.
Hex codes, custom properties, Tailwind fragments or "Name: value" lines all parse.
Five to ten colours, one per line. Names are kept if you give them.
Which colour is the background, the text, the primary action, the accent.
Real components in real proportions, not a row of squares.
Dark mode, greyscale and colour vision simulations, with every failing pair listed.
Because swatches give every colour equal area and an interface does not. Colours that are pleasant in small amounts can be overwhelming as a background, and the only way to find that out is to see it.
One dominant, one secondary, one accent, and a neutral ramp. The 60-30-10 proportion is a cliché because it works: the moment two colours compete for dominance, a design stops feeling settled.
It strips out hue and leaves only lightness. If two colours look the same in greyscale they will be hard to tell apart for a lot of people, and they will be identical in a printout.
Paste it. The parser takes hex codes, CSS custom properties, Tailwind fragments and "Name: value" lines, and ignores anything else, so copying a block straight out of a stylesheet generally works.
What people who use the Color Palette Visualizer think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Color Palette Visualizer. It takes half a minute and no account.
Write the first reviewBuild CSS linear and radial gradients visually and copy the code.
Compute WCAG relative luminance and see the maths behind it.
Build a moving gradient background with the keyframes included.
Nudge a colour until it passes WCAG, keeping its hue.
All 148 CSS colour names, searchable and sortable.
Find the true complement of any colour, and the near ones.
Fill headline text with a gradient, and keep it selectable.
Check any text and background pair against WCAG AA and AAA.