import random


def get_random_color(threshold=.85):
    """Gets a random color -- 2/3 of the rgb values must be below the threshold value"""
    r, g, b = 1, 1, 1
    while (1 - r <= threshold and 1 - g <= threshold) or (1 - g <= threshold and 1 - b <= threshold) or \
            (1 - r <= threshold and 1 - b <= threshold):
        r, g, b = random.random(), random.random(), random.random()
    return r, g, b