This charcoal to graphite to midnight linear gradient is an editable CSS color system generated with OKLCH-aware perceptual interpolation, multi-stop fallback compilation, and Tailwind CSS utility export. It preserves chroma during transitions, reducing muddy gray midpoints while giving developers production-ready CSS and designers precise visual control.

SEO gradient page

charcoal to graphite to midnight linear CSS gradient

Edit this gradient in the studio, copy production CSS, compare accessibility, and explore related color combinations generated from the same seed colors.

#091902#004335#201136

Gradient guide

How to use this charcoal to graphite to midnight gradient

This linear gradient can be used as a hero background, dashboard card treatment, app shell backdrop, social visual, or landing page accent. The color sequence is parsed directly from the URL, which means the page can be shared, indexed, and revisited.

The export system creates a standard CSS fallback, a perceptual multi-stop fallback, and a modern OKLCH declaration where appropriate. That makes the output useful for production interfaces, not just screenshots or static inspiration boards.

Use the related-gradient matrix below to explore adjacent hues, lightness shifts, and route variations. Each link is generated deterministically so search crawlers and users always see stable, crawlable internal links.

Interactive editor

Edit this gradient

Physics Preview Workspace

Perceptual CSS gradients without muddy midpoints.

Build layered linear, radial, conic, and mesh gradients using OKLCH, LAB, HCL, easing curves, blend modes, and fallback compilers.

White text

15.71:1

WCAG AA friendly

Black text

1.40:1

Needs overlay

Pre-rendered CSS output

.css-gradient-pro-gradient {
  background: linear-gradient(135deg, #091902 0%, #004335 50%, #201136 100%);
  background: linear-gradient(135deg, #091902 0%, #091a02 4.5%, #091c03 9.1%, #082005 13.6%, #05250a 18.2%, #022b11 22.7%, #00321a 27.3%, #003824 31.8%, #003d2b 36.4%, #004031 40.9%, #004234 45.5%, #004335 50%, #004336 54.5%, #004138 59.1%, #003e3d 63.6%, #003943 68.2%, #003249 72.7%, #00294b 77.3%, #0f2047 81.8%, #191941 86.4%, #1e143b 90.9%, #201237 95.5%, #201136 100%);
  background: linear-gradient(135deg in oklch, oklch(19.21% 0.0504 135.69) 0%, oklch(34.13% 0.0655 173.05) 50%, oklch(22.10% 0.0698 299.32) 100%);
  background-blend-mode: normal;
}

Full-width inspiration gallery

120 mathematically tuned gradient collections.

Each preset links to an indexable dynamic route with deterministic related gradients, metadata, crawlable anchors, and editable OKLCH controls.