Theme Builder

Theme Builder generates a complete UI theme from a single accent color: it automatically computes background, surface, text, border and state (success/warning/error) colors, producing separate sets for both light and dark mode.

Light mode
Dark mode
:root {
  --bg: #fafafa;
  --surface: #eeeff1;
  --border: #d4d7dd;
  --text: #21242c;
  --accent: #3366cc;
  --success: #1fad53;
  --warning: #f2a60d;
  --error: #e62719;
}
[data-theme="dark"] {
  --bg: #121416;
  --surface: #1d2025;
  --border: #343a46;
  --text: #f1f2f4;
  --accent: #3366cc;
  --success: #47d17a;
  --warning: #f0b642;
  --error: #e6574c;
}

How it works

  1. 1Pick an accent color; type its HEX code or use the color picker.
  2. 2Compare the auto-generated light and dark mode palettes in the preview.
  3. 3Optionally fine-tune contrast and saturation with the adjustment sliders.
  4. 4Export the theme as a block of CSS custom properties (`--bg`, `--surface`, `--accent`...) or a Tailwind config.

Frequently asked questions

How can a full theme come from just one color?+

The accent color's hue stays fixed while saturation and lightness are shifted to systematically derive neutral tones (background/surface/border) and state colors (green/yellow/red).

Is dark mode generated automatically?+

Yes, both a light and a dark mode palette are generated from the same accent color, aiming to keep the brand color consistent when switching between them.

Is accessibility checked?+

The generated text/background pairs are auto-adjusted toward the WCAG AA target; still, verify critical combinations with the Contrast Checker.

Is it compatible with Tailwind?+

Yes, one export option produces a config object you can paste directly into Tailwind's `theme.extend.colors`.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/color/theme-builder/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="Theme Builder · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Color and Design Guide →

Command Palette

Search for a command to run…