def random_color():
    import colorsys
    h = random.random()
    s = 0.5 + random.random() * 0.5
    v = 0.25 + random.random() * 0.75
    (r, g, b) = colorsys.hsv_to_rgb(h, s, v)
    r = int(r * 255)
    g = int(g * 255)
    b = int(b * 255)
    return '#%02x%02x%02x' % (r, g, b)
dataset/ETHPy150Open adurdin/platformgen/color.py/random_color/original