Colors
Dark Mode Palette Generator
Used by developers, writers, and creators worldwide.
A dark mode palette generator builds the colors you need for a dark interface that looks intentional rather than just inverted. Pick an accent theme — Blue, Purple, Green, or Amber — and it returns a layered set of deep background shades, mid-tone surfaces for cards and panels, a bright accent for interactive elements, and a soft near-white for text. Designers and developers use it to give an app or website a polished dark mode without hand-tuning a dozen near-black values until they read clearly. True black is avoided in favour of slightly lifted darks, which is gentler on the eyes and lets shadows and elevation show. Each color is a hex code ready for CSS variables or a Tailwind theme. The palette shifts subtly on each run, so generate until the layering feels balanced, then wire the codes to your background, surface, accent, and text tokens.
Loading usage…
Free forever — no account required
How to use
- Choose your options above
- Click Generate
- Copy your result
Detailed instructions
- Choose an accent theme for your interface.
- Set how many colors you want.
- Click Generate to build a layered dark-mode palette.
- Map the darkest to background, mids to surfaces, and the bright tone to accents.
Use Cases
- •Designing a dark mode for an app or website
- •Choosing layered background and surface shades that read clearly
- •Picking an accent that pops against deep dark tones
- •Building dark-theme CSS variables or a Tailwind dark palette
- •Avoiding harsh pure black in a dark interface
Tips
- →Use lifted darks, not pure black, for a softer, more modern feel.
- →Layer surfaces by lightness to suggest depth without borders.
- →Reserve the bright accent for buttons, links, and active states.
- →Use the near-white tone for body text rather than the accent.
FAQ
why avoid pure black in dark mode
Pure black with white text creates harsh contrast and makes shadows and elevation invisible. Slightly lifted dark greys, like the backgrounds here, are easier on the eyes, let surfaces layer visibly, and give a more refined, modern feel.
how do i use the layered shades
Use the darkest tone for the page background, the next shades for cards and raised panels, the accent for buttons and links, and the light tone for text. Layering surfaces by lightness signals depth without needing heavy borders.
will the accent be readable
The accents are chosen to stand out against the dark backgrounds, but always check contrast for text use. Bright accents work well for buttons and icons; for body text on dark surfaces, rely on the light near-white tone instead.