Add color stops and drag them directly on the bar to reposition them. Switch between linear, radial and conic gradients, then copy the CSS whenever you're happy with it.
background: linear-gradient(90deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);