def load_x11_color_map(paths=X11_RGB_PATHS):
if type(paths) is str:<EOL><INDENT>paths = (paths,)<EOL><DEDENT>x11_color_map = color_tables.x11_color_map<EOL>for path in paths:<EOL><INDENT>try:<EOL><INDENT>with open(path) as infile:<EOL><INDENT>for line in infile:<EOL><INDENT>if line.startswith('<STR_LIT:!>') or line.isspace():<EOL><INDENT>continue<EOL><DEDENT>tokens = line.rstrip().split(maxsplit=<NUM_LIT:3>)<EOL>key = tokens[<NUM_LIT:3>]<EOL>if '<STR_LIT:U+0020>' in key:  <EOL><INDENT>continue<EOL><DEDENT>x11_color_map[key.lower()] = tuple(tokens[:<NUM_LIT:3>])<EOL><DEDENT><DEDENT>log.debug('<STR_LIT>', path)<EOL>break<EOL><DEDENT>except FileNotFoundError as err:<EOL><INDENT>log.debug('<STR_LIT>', path)<EOL><DEDENT>except IOError as err:<EOL><INDENT>log.debug('<STR_LIT>', err)<EOL><DEDENT><DEDENT>
Load and parse X11's rgb.txt.

        Loads:
            x11_color_map: { name_lower: ('R', 'G', 'B') }