A few days after they added the new masks and patterns for Divi backgrounds they added another feature to design the gradients of your backgrounds.
So before, and even now, when we add a gradient to our background we get 2 color selectors to customize:

But now if we click on the color bar we can add as many colors as we want:

And of course, from there you can change the rest of the settings:

Time to test and experiment on your website with Divi, and remember that you can combine gradients with masks and patterns too so the limit is your imagination.