def triple_to_rgb(triple):
    """
    Returns rgb color in format #xxxxxx from triple of ints
    
    >>> triple_to_rgb((0, 189, 40))
    '#0bd28'
    
    """
    r, g, b = triple
    return "#{0}{1}{2}".format(hex(r)[2:], hex(g)[2:], hex(b)[2:])