##############################################
#    HYRALIX WAS CODED BY OLIWIER SPORNY     #
#       PLEASE DO NOT EDIT THIS FILE         #
##############################################

class formatting:
    red = '\u001b[31m'
    green = '\u001b[32m'
    yellow = '\u001b[33m'
    blue = '\u001b[34m'
    magenta = '\u001b[35m'
    cyan = '\u001b[36m'
    white = '\u001b[37m'
    black = '\u001b[30m'
    gray = '\u001b[30;1m'
    reset = '\u001b[0m'
    lighter_red = '\u001b[31;1m'
    lighter_green = '\u001b[32;1m'
    lighter_yellow = '\u001b[33;1m'
    lighter_blue = '\u001b[34;1m'
    lighter_magenta = '\u001b[35;1m'
    lighter_cyan = '\u001b[36;1m'
    lighter_white = '\u001b[37;1m'
    on_black = '\u001b[40m'
    on_red = '\u001b[41m'
    on_green = '\u001b[42m'
    on_yellow = '\u001b[43m'
    on_blue = '\u001b[44m'
    on_magenta = '\u001b[45m'
    on_cyan = '\u001b[46m'
    on_white = '\u001b[47m'
    bold = '\u001b[1m'
    underline = '\u001b[4m'
    reverse = '\u001b[7m'


def format(cformatting=''):
    if(cformatting == 'red'):
        return formatting.red
    elif(cformatting == 'green'):
        return formatting.green
    elif(cformatting == 'yellow'):
        return formatting.yellow
    elif(cformatting == 'blue'):
        return formatting.blue
    elif(cformatting == 'magenta'):
        return formatting.magenta
    elif(cformatting == 'cyan'):
        return formatting.cyan
    elif(cformatting == 'white'):
        return formatting.white
    elif(cformatting == 'black'):
        return formatting.black
    elif(cformatting == 'gray'):
        return formatting.gray
    elif(cformatting == 'reset'):
        return formatting.reset
    elif(cformatting == 'lighter_red'):
        return formatting.lighter_red
    elif(cformatting == 'lighter_green'):
        return formatting.lighter_green
    elif(cformatting == 'lighter_yellow'):
        return formatting.lighter_yellow
    elif(cformatting == 'lighter_blue'):
        return formatting.lighter_blue
    elif(cformatting == 'lighter_magenta'):
        return formatting.lighter_magenta
    elif(cformatting == 'lighter_cyan'):
        return formatting.lighter_cyan
    elif(cformatting == 'lighter_white'):
        return formatting.lighter_white
    elif(cformatting == 'on_black'):
        return formatting.on_black
    elif(cformatting == 'on_red'):
        return formatting.on_red
    elif(cformatting == 'on_green'):
        return formatting.on_green
    elif(cformatting == 'on_yellow'):
        return formatting.on_yellow
    elif(cformatting == 'on_blue'):
        return formatting.on_blue
    elif(cformatting == 'on_magenta'):
        return formatting.on_magenta
    elif(cformatting == 'on_cyan'):
        return formatting.on_cyan
    elif(cformatting == 'on_white'):
        return formatting.on_white
    elif(cformatting == 'bold'):
        return formatting.bold
    elif(cformatting == 'underline'):
        return formatting.underline
    elif(cformatting == 'reverse'):
        return formatting.reverse
