#1E3C72
#2A5298

Linear CSS gradient

#123 Night Sky Gradient

Night Sky is a linear CSS gradient built from 2 colors: #1E3C72, #2A5298. It works well for hero sections, UI surfaces, marketing pages, and subtle background treatments.

Use the palette table below to grab exact HEX and RGB values, then copy the raw CSS snippet and drop it straight into your project without re-building the gradient by hand.

Color palette

ColorHEXRGB
#1E3C72rgb(30, 60, 114)
#2A5298rgb(42, 82, 152)

CSS code

background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);

#123 Night Sky Gradient preview