Midnight UI theme
Create a midnight ui theme. This page gives you a ready-to-use color system, export code, and a live gradient preview — no design tools required.
Color palette
Midnight UI theme explained
The midnight ui theme pairs #bc6e2d as its primary hue with #b33333 as the accent. The palette is balanced for midnight aesthetics while keeping text readable against the surface color.
Every swatch is derived from the same two anchor colors, so the ui theme stays harmonious across backgrounds, borders, buttons, and hover states. Copy the CSS below or open it in your favorite tool and apply it immediately.
Use the preview image as a starting point for your own mockups. It shows the exact #bc6e2d → #b33333 gradient applied to a phone screen, a primary button, and a wave pattern so you can see how the midnight look plays out in a real interface.
Export code
/* CSS Custom Properties */
:root {
--background: #f5e9e0;
--surface: #fbf5f1;
--text-primary: #111827;
--text-secondary: #78767a;
--primary: #bc6e2d;
--secondary: #b33333;
--accent: #b33333;
}
/* Tailwind CSS config (extend.colors) */
module.exports = {
theme: {
extend: {
colors: {
'background': '#f5e9e0',
'surface': '#fbf5f1',
'text-primary': '#111827',
'text-secondary': '#78767a',
'primary': '#bc6e2d',
'secondary': '#b33333',
'accent': '#b33333',
}
}
}
};