Moonlight CSS Gradient — Copy the Code

Silvery blue-gray wash, cold and quiet. Copy the Moonlight gradient as CSS, a custom property, or a Tailwind theme block, and check its text contrast.

Moonlight CSS

background: linear-gradient(160deg, rgba(20, 30, 48, 1) 0%, rgba(36, 59, 85, 1) 100%);

Color stops

  • #141E30 at 0% (100% opacity)
  • #243B55 at 100% (100% opacity)

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