Is there an easy way to create a color ramp to be used in a design system?

For example: https://mineral-ui.com/color#guidelines-themes

looks like it's just a Bezier curve layed out on a palette. Is there a streamlined way of doing this in any vector based programs like adobe xd or sketch?