Deep Space CSS Gradient — Copy the Code

Black into cosmic purple with a teal edge; dramatic and dark-mode friendly. Copy the Deep Space gradient as CSS, a custom property, or a Tailwind theme block, and check its text contrast.

Deep Space CSS

background: linear-gradient(140deg, rgba(0, 0, 0, 1) 0%, rgba(31, 28, 44, 1) 45%, rgba(78, 84, 200, 1) 100%);

Color stops

  • #000000 at 0% (100% opacity)
  • #1F1C2C at 45% (100% opacity)
  • #4E54C8 at 100% (100% opacity)

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