Black Gradient
A free linear gradient you can copy as CSS or Tailwind. Deep, low-contrast gradients for dark mode heroes and app backgrounds.
CSS
.black-bg {
background: linear-gradient(135deg, #000000 0%, #1c1e22 100%);
}Tailwind CSS
With Tailwind's gradient utilities:
bg-gradient-to-br from-[#000000] to-[#1c1e22]Or the exact gradient as an arbitrary value:
bg-[image:linear-gradient(135deg,#000000_0%,#1c1e22_100%)]FAQ
How do I use the black gradient in CSS?
Set background: linear-gradient(135deg, #000000 0%, #1c1e22 100%); on any element. It works in every modern browser.
How do I use the black gradient in Tailwind?
Use bg-gradient-to-br from-[#000000] to-[#1c1e22], or the exact arbitrary value bg-[image:linear-gradient(135deg,#000000_0%,#1c1e22_100%)].