def create_center_text(text, draw, width, height, font, font_color):
    """
    Put centered text on a pil image with specified qualities
    :param text: string
    :param draw: PIL Draw object
    :param width: int, background width
    :param height: int, how far down the background to put text
    :param font: font to use
    :param font_color: string
    :return: height of the text
    """
    w, h = font.getsize(text)
    # put text on card
    draw.text(((width - w) / 2, height), text, font=font, fill=font_color)
    return h