Build CSS gradients visually and copy the code.
background: linear-gradient(90deg, #6366f1 0%, #ec4899 100%);