def rgb_to_hex(rgb_color: tuple) -> str:
    """
    Convert rgb color to hex
    example: (255, 255, 255) to #FFFFFF
    :param rgb_color:
    :return:
    """
    r, g, b = rgb_color
    return '#%02x%02x%02x' % (r, g, b)