Onyx CSS Gradient — Copy the Code
Pure black into deep slate — barely a gradient, maximum drama. Copy the Onyx gradient as CSS, a custom property, or a Tailwind theme block, and check its text contrast.
Onyx CSS
background: linear-gradient(160deg, rgba(0, 0, 0, 1) 0%, rgba(45, 45, 52, 1) 100%);Color stops
#000000at 0% (100% opacity)#2D2D34at 100% (100% opacity)
Edit this gradient · Browse all gradients · Check text over gradients