def ctext(text, colour="green"):
    """Colour some terminal output"""

    # colours
    c = {
        "off": "\033[0m",

        # High Intensity
        "black": "\033[0;90m",
        "bl": "\033[0;90m",
        "red": "\033[0;91m",
        "r": "\033[0;91m",
        "green": "\033[0;92m",
        "g": "\033[0;92m",
        "yellow": "\033[0;93m",
        "y": "\033[0;93m",
        "blue": "\033[0;94m",
        "b": "\033[0;94m",
        "purple": "\033[0;95m",
        "p": "\033[0;95m",
        "cyan": "\033[0;96m",
        "c": "\033[0;96m",
        "white": "\033[0;97m",
        "w": "\033[0;97m",
    }

    return f"{c[colour]}{text}{c['off']}"