sciris.sc_colors.shifthue

shifthue(colors=None, hueshift=0.0)[source]

Shift the hue of the colors being fed in.

Example:

colors = sc.shifthue(colors=[(1,0,0),(0,1,0)], hueshift=0.5)