Midnight Bootstrap theme
Create a midnight bootstrap 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 Bootstrap theme explained
The midnight bootstrap theme pairs #1a9eb3 as its primary hue with #7e40b9 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 bootstrap 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 #1a9eb3 → #7e40b9 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: #ddf0f4;
--surface: #f0f8fa;
--text-primary: #111827;
--text-secondary: #6d7983;
--primary: #1a9eb3;
--secondary: #7e40b9;
--accent: #7e40b9;
}
/* Tailwind CSS config (extend.colors) */
module.exports = {
theme: {
extend: {
colors: {
'background': '#ddf0f4',
'surface': '#f0f8fa',
'text-primary': '#111827',
'text-secondary': '#6d7983',
'primary': '#1a9eb3',
'secondary': '#7e40b9',
'accent': '#7e40b9',
}
}
}
};