def get_committees(member):
    """
    Returns a list of tuples (Committee name, Display color) of the committees the given member is a part of
    :param member: The member to find committees for
    :return: A list of committees with display color
    """
    colors = {
        "Dev": "green",
        "Mentor": "red",
        "Event": "blue",
        "PR": "yellow",
        "Styret": "purple",
    }
    return sorted([(committee.name, colors[committee.name]) for committee in member.committees.all()]) or ""