Back to gallery

Midnight and Lime CSS Gradients

Midnight and Lime CSS gradients pair midnight with lime for layouts that need a clear two-color system. This page generates 8 reusable gradient variations from the same pair, including linear blends, radial lighting, conic sweeps, deeper backgrounds, brighter accents, and a hard split option. The goal is to make the color relationship easy to evaluate before you open a generator or copy a declaration into a project. Midnight sets one side of the visual temperature, while Lime changes the contrast, depth, and direction of the final effect. The related preset links below connect this pair back to real CSS Forge presets when matching tags exist, so the page is not isolated from the rest of the gallery. Use the generated gradients for quick exploration, then move to the gradient generator when you need exact angle, center, or stop control.

Gradients

Generated gradient variations

Linear Field

A direct diagonal blend for hero panels and cards.

background: linear-gradient(135deg, #1e1b4b 0%, #a3e635 100%);

Reverse Linear

A reversed angle that changes the visual weight of the same pair.

background: linear-gradient(45deg, #a3e635 0%, #1e1b4b 100%);

Soft Radial

A softer center-weighted gradient with a clear outer color.

background: radial-gradient(circle at center, #504d73 0%, #1e1b4b 38%, #a3e635 100%);

Corner Radial

A corner-lit gradient for cards with visible direction.

background: radial-gradient(circle at top left, #b7ec61 0%, #a3e635 34%, #16153c 100%);

Conic Sweep

A conic sweep useful for badges and decorative blocks.

background: conic-gradient(from 45deg, #1e1b4b, #a3e635, #504d73, #1e1b4b);

Deep Blend

A deeper gradient for dark UI backgrounds.

background: linear-gradient(160deg, #16153c 0%, #1e1b4b 45%, #76a72d 100%);

Bright Blend

A brighter variation that keeps both colors visible.

background: linear-gradient(120deg, #504d73 0%, #1e1b4b 48%, #b7ec61 100%);

Split Accent

A hard split for graphic sections and comparison layouts.

background: linear-gradient(90deg, #1e1b4b 0%, #1e1b4b 42%, #a3e635 42%, #a3e635 100%);

Shadows

Matching shadow ideas

Related

Related CSS Forge presets