def generate_bins() -> list:
    """
    Generate color bins.
    :return: List of bins
    """
    h_bins = [(x / 10.0, (x + 1) / 10.0) for x in range(0, 10)]
    h_bins[-1] = (h_bins[-1][0], 1.1)
    s_bins = [(0.0, 0.333), (0.333, 0.666), (0.666, 1.1)]
    l_bins = [(0.0, 0.333), (0.333, 0.666), (0.666, 1.1)]
    bins = []
    for h_bin in h_bins:
        for s_bin in s_bins:
            for l_bin in l_bins:
                bins.append((h_bin, s_bin, l_bin))
    return bins