πŸ–ŒοΈ Color Palette Generator β€” Tints from One Hex

Start with a base hex color. The tool makes two lighter tints, the base, and two darker shades so you have a small UI palette.

Design Free Β· no sign-up Reviewed 2026-11-03
Input
Result
Steps

Private by design. This tool runs entirely in your browser β€” nothing you enter or add is uploaded to any server.

What this tool does

The palette generator takes one base hex colour and produces five related swatches: two lighter tints, the base, and two darker shades. Tints are mixed with white and shades with black, giving a compact scale for backgrounds, borders and hover states.

It is a fast starting point for a UI palette when you already know the brand colour and need a consistent set of light and dark variants without opening a design tool.

When to use it

  • Building a small palette for buttons, alerts and cards from one brand colour.
  • Finding a lighter hover tint and a darker pressed shade.
  • Creating quick background and border variants for a prototype.
  • Exploring what a single hex colour looks like across a simple scale.

How it works

  1. The base color accepts 3- or 6-digit hex, with or without #.
  2. Lighter steps mix the base with white; darker steps mix it with black.
  3. Each step is written as a six-digit hex code, from lightest to darkest.

Worked example

Enter #0F766E, a deep teal. The tool keeps that value in the middle, places two progressively lighter tints above it and two darker shades below it, and outputs all five as six-digit hex codes. The lightest tint works as a subtle background, while the darkest shade can serve as a pressed state.

  • #0F766E produces a teal scale with the base in the middle.
  • #fff is treated as white, so darker steps are grays.
  • A three-digit value such as #39c is expanded before mixing.

Accuracy and limitations

  • Mixing with white and black is a simple RGB interpolation, not a perceptually uniform colour-space conversion, so mid-tones may shift in saturation.
  • The palette contains five colours only. It is not a full design system and does not generate semantic roles or accessible text pairings.
  • Three-digit hex is expanded, but named colours and rgb() values are not accepted by the base field.

Privacy and data handling

Colour mixing happens locally in the browser. The base colour and generated palette are never uploaded.

Frequently asked questions

Is this a perceptual color scale?

No. Steps are simple RGB mixes toward white and black. They are even in channel space, not in lightness perception.

Can I export CSS variables?

The output lists hex codes one per line. Copy them into your stylesheet; this page does not write files.

Does the generator check contrast?

No. Run the output pairs through the contrast checker before using them for text.

More Design tools β†’