Milky Way CSS Gradient — Copy the Code

Near-black sky brightening into the galaxy's violet band. Copy the Milky Way gradient as CSS, a custom property, or a Tailwind theme block, and check its text contrast.

Milky Way CSS

background: linear-gradient(150deg, rgba(9, 10, 15, 1) 0%, rgba(49, 56, 102, 1) 55%, rgba(80, 64, 153, 1) 100%);

Color stops

  • #090A0F at 0% (100% opacity)
  • #313866 at 55% (100% opacity)
  • #504099 at 100% (100% opacity)

Edit this gradient · Browse all gradients · Check text over gradients