def colour(text, colour):
    """
    Colours text.
    Requires markup=pango
    """
    if colour == "default":
        return text
    if colour == "empty":
        return ""
    if colour == "blank":
        return " " * len(text)
    return f"<span color='{colour}'>{text}</span>"