def _designate_status_color(pull, team):
    """Check PR status and return corresponding color.

    Args:
        pull (github.PullRequest.PullRequest):
            Pull request object.

    Returns:
        dict: Color to fill the cell.
    """
    if pull.user.login not in team:
        # yellow
        return {"red": 1, "green": 0.81, "blue": 0.28}

    if pull.merged:
        # purple
        return {"red": 0.73, "green": 0.33, "blue": 0.83}

    if pull.state == "closed":
        # pink
        return {"red": 1, "green": 0.36, "blue": 0.47}

    return {"red": 1, "green": 1, "blue": 1}