Midnight CSS Gradient — Copy the Code
Near-black navy with a hint of indigo — a calm, dark backdrop that keeps white text at AAA contrast. Copy the Midnight gradient as CSS, a custom property, or a Tailwind theme block, and check its text contrast.
Midnight CSS
background: linear-gradient(180deg, rgba(15, 12, 41, 1) 0%, rgba(48, 43, 99, 1) 55%, rgba(36, 36, 62, 1) 100%);Color stops
#0F0C29at 0% (100% opacity)#302B63at 55% (100% opacity)#24243Eat 100% (100% opacity)
Edit this gradient · Browse all gradients · Check text over gradients