import itertools


def cycle_over_colors(range_zero_one=False):
    """Returns a generator that cycles over a list of nice colors, indefinitely."""
    colors = ((0.12156862745098039, 0.46666666666666667, 0.70588235294117652),
              (1.0, 0.49803921568627452, 0.054901960784313725),
              (0.17254901960784313, 0.62745098039215685, 0.17254901960784313),
              (0.83921568627450982, 0.15294117647058825, 0.15686274509803921),
              (0.58039215686274515, 0.40392156862745099, 0.74117647058823533),
              (0.5490196078431373, 0.33725490196078434, 0.29411764705882354),
              (0.8901960784313725, 0.46666666666666667, 0.76078431372549016),
              (0.49803921568627452, 0.49803921568627452, 0.49803921568627452),
              (0.73725490196078436, 0.74117647058823533, 0.13333333333333333),
              (0.090196078431372548, 0.74509803921568629, 0.81176470588235294))

    if not range_zero_one:
        colors = [[c * 255 for c in color] for color in colors]

    return itertools.cycle(colors)