How UX Palette Generator Creates a Palette from a Base Color
Updated
UX Palette Generator (palettegenerator.com) builds a full web color scheme from a single base color you choose. You pick that base color, set a palette size and one of 8 harmony methods, and the tool generates the variants and displays them as a palette list. A live UX preview then shows those colors applied to a web interface so you can judge them in context before exporting. This walkthrough covers the actual inputs, what each control does, and how to verify the result.
The base color is the foundation
The tool states this directly: "Your base color is the foundation. All palette variations are generated from it." Everything downstream — the harmony method, the refinement sliders, the preview — operates relative to whatever base you set.
You have two ways to set it:
- Select Your Base Color — pick a specific color you already have in mind (a brand color, a client-supplied hex, etc.).
- Random Color Code — let the tool pick a starting point when you don't have a fixed brand color and want to explore.
If you're building for an existing brand, use the first option and enter the exact value. If you're exploring, the random option is faster and you can refine from there.
Choosing palette size and harmony method
Two controls shape the output before anything is generated:
| Control | What it does | Practical note |
|---|---|---|
| Palette Size | Sets how many colors the palette contains. The interface shows a default of 6. | Match this to your actual needs — a small UI may only need 4–5 roles; a full design system may need more. |
| Palette Method | Selects one of 8 harmony methods (the tool lists schemes such as Monochromatic, Triadic, and Complementary in its project examples). | The method determines the relationship between colors, not just their count. |
The harmony method matters because it decides how the generated colors relate to each other on the color wheel. A monochromatic scheme keeps everything in one hue family (useful for a clean, low-contrast-risk interface), while triadic or complementary schemes introduce opposing hues (useful when you need distinct accent colors that still feel intentional).
The tool also shows a Sort control (options include Score and A-Z), which changes only the display order of the generated list — it doesn't change the colors themselves.
What gets generated
After you set the base color, size, and method, the tool generates the variants and presents them as Your Palette — a list of the resulting colors. From here you can:
- Copy All — grab the whole set at once.
- Lock individual colors — the tool notes that "Locked colors won't be affected by refinement," so you can protect colors you're happy with while adjusting the rest.
The palette view also surfaces quality signals: a Contrast Score, Balance, and Vibrancy reading (the example interface shows 92%, 78%, and 85% respectively). Treat these as directional indicators of how the palette performs, not as a substitute for checking contrast yourself.
Refining the palette
Once a palette exists, the Refinement panel lets you shift the whole set without starting over. The available controls are:
- Brightness (shown at 0%)
- Saturation (shown at 0%)
- Hue Shift (shown at 0°)
- Temperature (shown at 0%)
Each starts at a neutral value, so moving a slider adjusts that property across the palette. This is where locking pays off: lock the colors that are already correct, then move the sliders to fix the rest. Reset returns the refinement controls to their neutral state.
A practical sequence: generate → lock the one or two colors that already work → adjust brightness and saturation → check the preview → reset if it goes wrong.
Checking the result in the live UX preview
The UX Preview is the step that separates this from a plain color-wheel tool. It renders your palette inside a web interface context, with a Background: White / Black toggle so you can see how the colors behave on both light and dark surfaces.
Use it to answer the questions a swatch list can't:
- Do the text and background colors stay readable on both white and black?
- Do the accent colors still stand out once they're next to each other in a real layout?
- Does the palette hold together, or does one color dominate unintentionally?
The tool reports a WCAG Pass figure (96.2% in the example data), which points at accessibility compliance as a design goal. Verify contrast against WCAG yourself rather than relying on the summary number alone.
Exporting the palette
When the palette is settled, Export Palette offers three formats:
- CSS Variables — drop straight into a stylesheet as custom properties.
- JSON — for design tokens, build pipelines, or handoff to developers.
- SVG — for documentation, style guides, or visual reference.
Pick based on where the palette is going: CSS Variables for direct implementation, JSON if it feeds a token system, SVG if it's for presentation.
A worked example
Say you're refreshing a brand and need a monochromatic scheme with 8 shades for a new design system (one of the tool's own example projects).
- Set Select Your Base Color to the brand's primary color.
- Set Palette Size to 8.
- Choose the Monochromatic harmony method.
- Review Your Palette; lock the shades that already look right.
- Use Refinement to adjust brightness and saturation until the range reads evenly.
- Toggle UX Preview between White and Black to confirm text and surfaces work in both.
- Export Palette as CSS Variables for the dev team and JSON for the token library.
Common sticking points
- Refinement seems to do nothing to some colors — check whether those colors are locked. Locked colors are explicitly excluded from refinement.
- The palette feels flat — a monochromatic method keeps everything in one hue family by design. Switch to triadic or complementary if you need more separation.
- Sort order looks wrong — Sort only changes display order (Score vs. A-Z); it doesn't alter the generated colors.
- Preview looks fine but the real UI doesn't — the preview is a context check, not a guarantee. Confirm contrast ratios against WCAG before shipping.