I'd like design a chart and set the colors from a single exemplar. Same way as in Excel's:

Is there some sort of a formula or algorithm to generate the next shade of color from a given shade or color?
I'd like design a chart and set the colors from a single exemplar. Same way as in Excel's:

Is there some sort of a formula or algorithm to generate the next shade of color from a given shade or color?