def color_for_level(level):
if not color_available:<EOL><INDENT>return None<EOL><DEDENT>return {<EOL>logging.DEBUG: colorama.Fore.WHITE,<EOL>logging.INFO: colorama.Fore.BLUE,<EOL>logging.WARNING: colorama.Fore.YELLOW,<EOL>logging.ERROR: colorama.Fore.RED,<EOL>logging.CRITICAL: colorama.Fore.MAGENTA<EOL>}.get(level, colorama.Fore.WHITE)<EOL>
Returns the colorama Fore color for a given log level.

If color is not available, returns None.