TXT · Text & Data tools

Dark Mode Color Palette Generator

Light background
Dark background
CSS variables
Go to full Color Palette Generator

Shareable link

Settings are written to the URL as you change them. Nothing differs from the defaults yet.

Build your surfaces

Effective dark mode UI isn’t just black—it’s a hierarchy of deep, low-lightness tones punctuated by careful, vivid accents. This preset configures the generator to output rich, elevated background shades alongside complementary highlights that pop without causing eye strain. Tap the spacebar to discover new nocturnal combinations, and lock any shade you want to keep through the next roll.

Secure the foundations

Once you find the ideal canvas color for your application background, click the lock icon to preserve it. When you generate again, the tool will rotate through new accent colors and secondary surface shades while keeping your foundational dark tone exactly where it is.

Export for development

Click directly on any swatch’s hex value to copy it to your clipboard. To bring the entire scheme into your codebase, use the export pane for ready-to-paste CSS variables or design tokens JSON. If you need a complete elevation system for cards and modals, send any swatch to the shade generator to expand it into a full dark-mode gradient ramp.

Frequently Asked Questions

Low-lightness colors for backgrounds and surfaces plus a few brighter accents, spread with a split-complementary mix so the accents stay distinct.

Yes. Lock the surface color you want and regenerate; only the unlocked accents change.

CSS variables, a HEX list, or JSON from the export pane. A click copies a single swatch's hex.

Dark themes still need readable text. Take your foreground and background pair and verify it against WCAG contrast ratios before shipping.

Yes.

Jumpstart your design with a preset

Full Color Palette Generator tool

Explore Our Tools

Browse all tools