def colorize(text=None, color=None, style=None, light=None, background=None):
param = colors.color<EOL>param_color = <NUM_LIT:7><EOL>param_style = <NUM_LIT:0><EOL>if text == None:<EOL><INDENT>text = '<STR_LIT>'<EOL><DEDENT>if color:<EOL><INDENT>if color == '<STR_LIT>':<EOL><INDENT>param_color = colors.b<EOL><DEDENT>elif color == '<STR_LIT>':<EOL><INDENT>param_color = colors.r<EOL><DEDENT>elif color == '<STR_LIT>':<EOL><INDENT>param_color = colors.g<EOL><DEDENT>elif color == '<STR_LIT>':<EOL><INDENT>param_color = colors.y<EOL><DEDENT>elif color == '<STR_LIT>':<EOL><INDENT>param_color = colors.bl<EOL><DEDENT>elif color == '<STR_LIT>':<EOL><INDENT>param_color = colors.m<EOL><DEDENT>elif color == '<STR_LIT>':<EOL><INDENT>param_color = colors.c<EOL><DEDENT>elif color == '<STR_LIT>':<EOL><INDENT>param_color = colors.w<EOL><DEDENT>else:<EOL><INDENT>param_color = color<EOL><DEDENT><DEDENT>if style:<EOL><INDENT>if style == '<STR_LIT>':<EOL><INDENT>param_style = colors.bold<EOL><DEDENT>elif style == '<STR_LIT>':<EOL><INDENT>param_style = colors.dark<EOL><DEDENT>elif style == '<STR_LIT>':<EOL><INDENT>param_style = colors.underline<EOL><DEDENT>elif style == '<STR_LIT>':<EOL><INDENT>param_style = colors.negative<EOL><DEDENT>elif param_style == '<STR_LIT>':<EOL><INDENT>param_style == colors.hide<EOL><DEDENT>else:<EOL><INDENT>param_style = style<EOL><DEDENT><DEDENT>if light:<EOL><INDENT>if background:<EOL><INDENT>param = colors.bg_light<EOL><DEDENT>else:<EOL><INDENT>param = colors.light<EOL><DEDENT><DEDENT>elif background:<EOL><INDENT>param = colors.bg_color<EOL><DEDENT>apply_text = '<STR_LIT>'.format(n1=colors.prefix + str(param_style) +'<STR_LIT:;>' + str(param + param_color) + '<STR_LIT:m>',<EOL>text=text, n2=colors.nocolor)<EOL>return apply_text<EOL>
Colors  | Styles             |
--------|--------------------|
black   | bold               |
red     | dark               |
green   | underline          |
yellow  | negative           |
blue    | hide               |
magenta |                    |
cyan    |                    |
white   |                    |

PythonColorize.colorize(text=[text], color=[color], style=[style], light=[True|False], background=[True|False])