Midnight Linear Gradient CSS
Midnight Linear is a midnight blue drama gradient built with linear CSS syntax.
background
Gradient Field
Output
Copy-ready CSS
Pure CSS
background: linear-gradient(135deg, #020617 0%, #1d4ed8 50%, #7c3aed 100%);Tailwind v4
bg-[linear-gradient(135deg\,_#020617_0%\,_#1d4ed8_50%\,_#7c3aed_100%)]When to use it
Midnight Linear is a dark linear gradient preset for backgrounds, buttons, hero panels, cards, and visual accents. It uses 3 color stops (#020617, #1d4ed8, #7c3aed) to create a repeatable CSS background without image assets. Midnight Linear is a midnight blue drama gradient built with linear CSS syntax. The preset is intentionally stored as a complete background declaration, which makes it easy to paste into a stylesheet, component style, or Tailwind arbitrary value. Use it when a flat fill needs more movement, or when you want a strong color system for a section. Open the generator to switch between linear, radial, and conic modes, adjust angle or center position, and move individual stops until the transition fits your layout.
Explore more
More CSS Forge paths
Related
Similar gradients
These presets share color and mode tags with Midnight Linear.
Midnight Diagonal
Midnight Diagonal is a midnight blue drama gradient built with linear CSS syntax.
Steel Linear
Steel Linear is a cool steel interface tone gradient built with linear CSS syntax.
Steel Diagonal
Steel Diagonal is a cool steel interface tone gradient built with linear CSS syntax.
Royal Linear
Royal Linear is a royal violet depth gradient built with linear CSS syntax.
Royal Diagonal
Royal Diagonal is a royal violet depth gradient built with linear CSS syntax.