def METHOD_NAME(n):
    """Generate a seried of colors to be used for colorizing group types"""
    i = 3
    result_colors = [
        col
        for col in itertools.product([0, 255], repeat=3)
        if sum(col) > 0 and sum(col) < 255 * 3
    ]
    # iterate to produce colors closest to clean one
    while len(result_colors) < n:
        channel_values = list(_arange_int(0, 255, i))
        # first add colors closest to clean one
        for col in itertools.permutations(channel_values, 3):
            if col not in result_colors:
                result_colors.append(col)
        # in the second stem add more mixed colors
        for col in itertools.product(channel_values, repeat=3):
            # excluding too dark and too bright
            if col not in result_colors and sum(col) > 20 and sum(col) < 600:
                result_colors.append(col)
        # repeat with more tones if necessary
        i += 1
    return list(result_colors)[:n]