def rgba_to_hex(rgba_color: tuple):
    """
    Convert rgba color to hex
    example: (255, 255, 255, 128) to #FFFFFF
    :param rgba_color:
    :return:
    """
    r, g, b, a = rgba_color
    return '#%02x%02x%02x' % (r, g, b)