Tailwind Gradient Generator

Pick colours and a direction, see it live, and copy CSS or Tailwind classes. Free, with no sign-up.

CSS
background: linear-gradient(135deg, #6366f1, #ec4899);
Tailwind CSS v4
bg-linear-to-br from-[#6366f1] to-[#ec4899]
Tailwind CSS v3
bg-gradient-to-br from-[#6366f1] to-[#ec4899]

Related components