niceui

Charcoal Gradient

A free linear gradient you can copy as CSS or Tailwind. Deep, low-contrast gradients for dark mode heroes and app backgrounds.

CSS

.charcoal-bg {
  background: linear-gradient(160deg, #30333a 0%, #0b0c0e 100%);
}

Tailwind CSS

bg-[image:linear-gradient(160deg,#30333a_0%,#0b0c0e_100%)]
Edit this gradient in the Gradient MakerMesh, conic and animated shader gradients, grain, PNG export and one-click CSS, Tailwind, React or HTML.

FAQ

How do I use the charcoal gradient in CSS?

Set background: linear-gradient(160deg, #30333a 0%, #0b0c0e 100%); on any element. It works in every modern browser.

How do I use the charcoal gradient in Tailwind?

Use the arbitrary value class bg-[image:linear-gradient(160deg,#30333a_0%,#0b0c0e_100%)].

Similar gradients

More: Dark gradientsAll gradients