COLORS = {
    "aliceblue": {"ansi": 263, "rgb": "0xf0f8ff", "xterm": 15},
    "antiquewhite": {"ansi": 263, "rgb": "0xfaebd7", "xterm": 224},
    "antiquewhite1": {"ansi": 263, "rgb": "0xffefdb", "xterm": 230},
    "antiquewhite2": {"ansi": 263, "rgb": "0xeedfcc", "xterm": 224},
    "antiquewhite3": {"ansi": 261, "rgb": "0xcdc0b0", "xterm": 181},
    "antiquewhite4": {"ansi": 256, "rgb": "0x8b8378", "xterm": 8},
    "aqua": {"ansi": 262, "rgb": "0x00ffff", "xterm": 14},
    "aquamarine": {"ansi": 263, "rgb": "0x7fffd4", "xterm": 122},
    "aquamarine1": {"ansi": 263, "rgb": "0x7fffd4", "xterm": 122},
    "aquamarine2": {"ansi": 263, "rgb": "0x76eec6", "xterm": 122},
    "aquamarine3": {"ansi": 262, "rgb": "0x66cdaa", "xterm": 79},
    "aquamarine4": {"ansi": 2, "rgb": "0x458b74", "xterm": 66},
    "azure": {"ansi": 263, "rgb": "0xf0ffff", "xterm": 15},
    "azure1": {"ansi": 263, "rgb": "0xf0ffff", "xterm": 15},
    "azure2": {"ansi": 263, "rgb": "0xe0eeee", "xterm": 255},
    "azure3": {"ansi": 263, "rgb": "0xc1cdcd", "xterm": 251},
    "azure4": {"ansi": 2, "rgb": "0x838b8b", "xterm": 102},
    "beige": {"ansi": 263, "rgb": "0xf5f5dc", "xterm": 230},
    "bisque": {"ansi": 263, "rgb": "0xffe4c4", "xterm": 224},
    "bisque1": {"ansi": 263, "rgb": "0xffe4c4", "xterm": 224},
    "bisque2": {"ansi": 263, "rgb": "0xeed5b7", "xterm": 223},
    "bisque3": {"ansi": 261, "rgb": "0xcdb79e", "xterm": 181},
    "bisque4": {"ansi": 2, "rgb": "0x8b7d6b", "xterm": 101},
    "black": {"ansi": 0, "rgb": "0x000000", "xterm": 16},
    "blanchedalmond": {"ansi": 263, "rgb": "0xffebcd", "xterm": 224},
    "blue": {"ansi": 260, "rgb": "0x0000ff", "xterm": 21},
    "blue1": {"ansi": 260, "rgb": "0x0000ff", "xterm": 21},
    "blue2": {"ansi": 260, "rgb": "0x0000ee", "xterm": 12},
    "blue3": {"ansi": 260, "rgb": "0x0000cd", "xterm": 20},
    "blue4": {"ansi": 4, "rgb": "0x00008b", "xterm": 18},
    "blueviolet": {"ansi": 261, "rgb": "0x8a2be2", "xterm": 92},
    "brown": {"ansi": 1, "rgb": "0xa52a2a", "xterm": 124},
    "brown1": {"ansi": 257, "rgb": "0xff4040", "xterm": 203},
    "brown2": {"ansi": 257, "rgb": "0xee3b3b", "xterm": 203},
    "brown3": {"ansi": 257, "rgb": "0xcd3333", "xterm": 167},
    "brown4": {"ansi": 1, "rgb": "0x8b2323", "xterm": 88},
    "burlywood": {"ansi": 259, "rgb": "0xdeb887", "xterm": 180},
    "burlywood1": {"ansi": 259, "rgb": "0xffd39b", "xterm": 222},
    "burlywood2": {"ansi": 259, "rgb": "0xeec591", "xterm": 222},
    "burlywood3": {"ansi": 259, "rgb": "0xcdaa7d", "xterm": 180},
    "burlywood4": {"ansi": 1, "rgb": "0x8b7355", "xterm": 95},
    "cadetblue": {"ansi": 6, "rgb": "0x5f9ea0", "xterm": 73},
    "cadetblue1": {"ansi": 263, "rgb": "0x98f5ff", "xterm": 123},
    "cadetblue2": {"ansi": 262, "rgb": "0x8ee5ee", "xterm": 117},
    "cadetblue3": {"ansi": 262, "rgb": "0x7ac5cd", "xterm": 116},
    "cadetblue4": {"ansi": 2, "rgb": "0x53868b", "xterm": 66},
    "chartreuse": {"ansi": 258, "rgb": "0x7fff00", "xterm": 118},
    "chartreuse1": {"ansi": 258, "rgb": "0x7fff00", "xterm": 118},
    "chartreuse2": {"ansi": 258, "rgb": "0x76ee00", "xterm": 118},
    "chartreuse3": {"ansi": 258, "rgb": "0x66cd00", "xterm": 76},
    "chartreuse4": {"ansi": 2, "rgb": "0x458b00", "xterm": 64},
    "chocolate": {"ansi": 257, "rgb": "0xd2691e", "xterm": 166},
    "chocolate1": {"ansi": 257, "rgb": "0xff7f24", "xterm": 208},
    "chocolate2": {"ansi": 257, "rgb": "0xee7621", "xterm": 208},
    "chocolate3": {"ansi": 257, "rgb": "0xcd661d", "xterm": 166},
    "chocolate4": {"ansi": 2, "rgb": "0x8b4513", "xterm": 94},
    "coral": {"ansi": 257, "rgb": "0xff7f50", "xterm": 209},
    "coral1": {"ansi": 257, "rgb": "0xff7256", "xterm": 203},
    "coral2": {"ansi": 257, "rgb": "0xee6a50", "xterm": 203},
    "coral3": {"ansi": 257, "rgb": "0xcd5b45", "xterm": 167},
    "coral4": {"ansi": 2, "rgb": "0x8b3e2f", "xterm": 94},
    "cornflowerblue": {"ansi": 260, "rgb": "0x6495ed", "xterm": 69},
    "cornsilk": {"ansi": 263, "rgb": "0xfff8dc", "xterm": 230},
    "cornsilk1": {"ansi": 263, "rgb": "0xfff8dc", "xterm": 230},
    "cornsilk2": {"ansi": 263, "rgb": "0xeee8cd", "xterm": 254},
    "cornsilk3": {"ansi": 263, "rgb": "0xcdc8b1", "xterm": 187},
    "cornsilk4": {"ansi": 2, "rgb": "0x8b8878", "xterm": 102},
    "cyan": {"ansi": 262, "rgb": "0x00ffff", "xterm": 51},
    "cyan1": {"ansi": 262, "rgb": "0x00ffff", "xterm": 51},
    "cyan2": {"ansi": 262, "rgb": "0x00eeee", "xterm": 14},
    "cyan3": {"ansi": 262, "rgb": "0x00cdcd", "xterm": 44},
    "cyan4": {"ansi": 6, "rgb": "0x008b8b", "xterm": 30},
    "darkblue": {"ansi": 4, "rgb": "0x00008b", "xterm": 18},
    "darkcyan": {"ansi": 6, "rgb": "0x008b8b", "xterm": 30},
    "darkgoldenrod": {"ansi": 3, "rgb": "0xb8860b", "xterm": 136},
    "darkgoldenrod1": {"ansi": 259, "rgb": "0xffb90f", "xterm": 214},
    "darkgoldenrod2": {"ansi": 259, "rgb": "0xeead0e", "xterm": 214},
    "darkgoldenrod3": {"ansi": 3, "rgb": "0xcd950c", "xterm": 172},
    "darkgoldenrod4": {"ansi": 2, "rgb": "0x8b6508", "xterm": 94},
    "darkgray": {"ansi": 263, "rgb": "0xa9a9a9", "xterm": 248},
    "darkgreen": {"ansi": 2, "rgb": "0x006400", "xterm": 22},
    "darkgrey": {"ansi": 263, "rgb": "0xa9a9a9", "xterm": 248},
    "darkkhaki": {"ansi": 3, "rgb": "0xbdb76b", "xterm": 143},
    "darkmagenta": {"ansi": 5, "rgb": "0x8b008b", "xterm": 90},
    "darkolivegreen": {"ansi": 256, "rgb": "0x556b2f", "xterm": 239},
    "darkolivegreen1": {"ansi": 259, "rgb": "0xcaff70", "xterm": 191},
    "darkolivegreen2": {"ansi": 259, "rgb": "0xbcee68", "xterm": 155},
    "darkolivegreen3": {"ansi": 259, "rgb": "0xa2cd5a", "xterm": 149},
    "darkolivegreen4": {"ansi": 2, "rgb": "0x6e8b3d", "xterm": 65},
    "darkorange": {"ansi": 257, "rgb": "0xff8c00", "xterm": 208},
    "darkorange1": {"ansi": 257, "rgb": "0xff7f00", "xterm": 208},
    "darkorange2": {"ansi": 257, "rgb": "0xee7600", "xterm": 208},
    "darkorange3": {"ansi": 257, "rgb": "0xcd6600", "xterm": 166},
    "darkorange4": {"ansi": 2, "rgb": "0x8b4500", "xterm": 94},
    "darkorchid": {"ansi": 261, "rgb": "0x9932cc", "xterm": 98},
    "darkorchid1": {"ansi": 261, "rgb": "0xbf3eff", "xterm": 135},
    "darkorchid2": {"ansi": 261, "rgb": "0xb23aee", "xterm": 135},
    "darkorchid3": {"ansi": 261, "rgb": "0x9a32cd", "xterm": 98},
    "darkorchid4": {"ansi": 5, "rgb": "0x68228b", "xterm": 54},
    "darkred": {"ansi": 1, "rgb": "0x8b0000", "xterm": 88},
    "darksalmon": {"ansi": 3, "rgb": "0xe9967a", "xterm": 174},
    "darkseagreen": {"ansi": 2, "rgb": "0x8fbc8f", "xterm": 108},
    "darkseagreen1": {"ansi": 259, "rgb": "0xc1ffc1", "xterm": 157},
    "darkseagreen2": {"ansi": 259, "rgb": "0xb4eeb4", "xterm": 157},
    "darkseagreen3": {"ansi": 258, "rgb": "0x9bcd9b", "xterm": 114},
    "darkseagreen4": {"ansi": 2, "rgb": "0x698b69", "xterm": 65},
    "darkslateblue": {"ansi": 6, "rgb": "0x483d8b", "xterm": 60},
    "darkslategray": {"ansi": 256, "rgb": "0x2f4f4f", "xterm": 238},
    "darkslategray1": {"ansi": 263, "rgb": "0x97ffff", "xterm": 123},
    "darkslategray2": {"ansi": 263, "rgb": "0x8deeee", "xterm": 123},
    "darkslategray3": {"ansi": 262, "rgb": "0x79cdcd", "xterm": 116},
    "darkslategray4": {"ansi": 2, "rgb": "0x528b8b", "xterm": 66},
    "darkslategrey": {"ansi": 256, "rgb": "0x2f4f4f", "xterm": 238},
    "darkslategrey1": {"ansi": 263, "rgb": "0x97ffff", "xterm": 123},
    "darkslategrey2": {"ansi": 263, "rgb": "0x8deeee", "xterm": 123},
    "darkslategrey3": {"ansi": 262, "rgb": "0x79cdcd", "xterm": 116},
    "darkslategrey4": {"ansi": 2, "rgb": "0x528b8b", "xterm": 66},
    "darkturquoise": {"ansi": 262, "rgb": "0x00ced1", "xterm": 44},
    "darkviolet": {"ansi": 261, "rgb": "0x9400d3", "xterm": 92},
    "deeppink": {"ansi": 257, "rgb": "0xff1493", "xterm": 198},
    "deeppink1": {"ansi": 257, "rgb": "0xff1493", "xterm": 198},
    "deeppink2": {"ansi": 257, "rgb": "0xee1289", "xterm": 198},
    "deeppink3": {"ansi": 261, "rgb": "0xcd1076", "xterm": 162},
    "deeppink4": {"ansi": 1, "rgb": "0x8b0a50", "xterm": 89},
    "deepskyblue": {"ansi": 260, "rgb": "0x00bfff", "xterm": 39},
    "deepskyblue1": {"ansi": 260, "rgb": "0x00bfff", "xterm": 39},
    "deepskyblue2": {"ansi": 260, "rgb": "0x00b2ee", "xterm": 39},
    "deepskyblue3": {"ansi": 260, "rgb": "0x009acd", "xterm": 32},
    "deepskyblue4": {"ansi": 4, "rgb": "0x00688b", "xterm": 24},
    "dimgray": {"ansi": 7, "rgb": "0x696969", "xterm": 242},
    "dimgrey": {"ansi": 7, "rgb": "0x696969", "xterm": 242},
    "dodgerblue": {"ansi": 260, "rgb": "0x1e90ff", "xterm": 33},
    "dodgerblue1": {"ansi": 260, "rgb": "0x1e90ff", "xterm": 33},
    "dodgerblue2": {"ansi": 260, "rgb": "0x1c86ee", "xterm": 33},
    "dodgerblue3": {"ansi": 260, "rgb": "0x1874cd", "xterm": 32},
    "dodgerblue4": {"ansi": 4, "rgb": "0x104e8b", "xterm": 24},
    "firebrick": {"ansi": 1, "rgb": "0xb22222", "xterm": 124},
    "firebrick1": {"ansi": 257, "rgb": "0xff3030", "xterm": 203},
    "firebrick2": {"ansi": 257, "rgb": "0xee2c2c", "xterm": 9},
    "firebrick3": {"ansi": 1, "rgb": "0xcd2626", "xterm": 160},
    "firebrick4": {"ansi": 1, "rgb": "0x8b1a1a", "xterm": 88},
    "floralwhite": {"ansi": 263, "rgb": "0xfffaf0", "xterm": 15},
    "forestgreen": {"ansi": 258, "rgb": "0x228b22", "xterm": 28},
    "fuchsia": {"ansi": 261, "rgb": "0xff00ff", "xterm": 13},
    "gainsboro": {"ansi": 263, "rgb": "0xdcdcdc", "xterm": 253},
    "ghostwhite": {"ansi": 263, "rgb": "0xf8f8ff", "xterm": 15},
    "gold": {"ansi": 259, "rgb": "0xffd700", "xterm": 220},
    "gold1": {"ansi": 259, "rgb": "0xffd700", "xterm": 220},
    "gold2": {"ansi": 259, "rgb": "0xeec900", "xterm": 220},
    "gold3": {"ansi": 3, "rgb": "0xcdad00", "xterm": 178},
    "gold4": {"ansi": 3, "rgb": "0x8b7500", "xterm": 3},
    "goldenrod": {"ansi": 3, "rgb": "0xdaa520", "xterm": 178},
    "goldenrod1": {"ansi": 259, "rgb": "0xffc125", "xterm": 214},
    "goldenrod2": {"ansi": 259, "rgb": "0xeeb422", "xterm": 214},
    "goldenrod3": {"ansi": 3, "rgb": "0xcd9b1d", "xterm": 172},
    "goldenrod4": {"ansi": 2, "rgb": "0x8b6914", "xterm": 94},
    "gray": {"ansi": 7, "rgb": "0xbebebe", "xterm": 7},
    "gray0": {"ansi": 0, "rgb": "0x000000", "xterm": 16},
    "gray1": {"ansi": 0, "rgb": "0x030303", "xterm": 0},
    "gray10": {"ansi": 256, "rgb": "0x1a1a1a", "xterm": 234},
    "gray100": {"ansi": 263, "rgb": "0xffffff", "xterm": 231},
    "gray11": {"ansi": 256, "rgb": "0x1c1c1c", "xterm": 234},
    "gray12": {"ansi": 256, "rgb": "0x1f1f1f", "xterm": 234},
    "gray13": {"ansi": 256, "rgb": "0x212121", "xterm": 234},
    "gray14": {"ansi": 256, "rgb": "0x242424", "xterm": 235},
    "gray15": {"ansi": 256, "rgb": "0x262626", "xterm": 235},
    "gray16": {"ansi": 256, "rgb": "0x292929", "xterm": 235},
    "gray17": {"ansi": 256, "rgb": "0x2b2b2b", "xterm": 235},
    "gray18": {"ansi": 256, "rgb": "0x2e2e2e", "xterm": 236},
    "gray19": {"ansi": 256, "rgb": "0x303030", "xterm": 236},
    "gray2": {"ansi": 0, "rgb": "0x050505", "xterm": 232},
    "gray20": {"ansi": 256, "rgb": "0x333333", "xterm": 236},
    "gray21": {"ansi": 256, "rgb": "0x363636", "xterm": 237},
    "gray22": {"ansi": 256, "rgb": "0x383838", "xterm": 237},
    "gray23": {"ansi": 256, "rgb": "0x3b3b3b", "xterm": 237},
    "gray24": {"ansi": 256, "rgb": "0x3d3d3d", "xterm": 237},
    "gray25": {"ansi": 256, "rgb": "0x404040", "xterm": 238},
    "gray26": {"ansi": 256, "rgb": "0x424242", "xterm": 238},
    "gray27": {"ansi": 256, "rgb": "0x454545", "xterm": 238},
    "gray28": {"ansi": 256, "rgb": "0x474747", "xterm": 238},
    "gray29": {"ansi": 256, "rgb": "0x4a4a4a", "xterm": 239},
    "gray3": {"ansi": 0, "rgb": "0x080808", "xterm": 232},
    "gray30": {"ansi": 256, "rgb": "0x4d4d4d", "xterm": 239},
    "gray31": {"ansi": 256, "rgb": "0x4f4f4f", "xterm": 239},
    "gray32": {"ansi": 256, "rgb": "0x525252", "xterm": 239},
    "gray33": {"ansi": 256, "rgb": "0x545454", "xterm": 240},
    "gray34": {"ansi": 256, "rgb": "0x575757", "xterm": 240},
    "gray35": {"ansi": 256, "rgb": "0x595959", "xterm": 240},
    "gray36": {"ansi": 2, "rgb": "0x5c5c5c", "xterm": 59},
    "gray37": {"ansi": 2, "rgb": "0x5e5e5e", "xterm": 59},
    "gray38": {"ansi": 7, "rgb": "0x616161", "xterm": 241},
    "gray39": {"ansi": 7, "rgb": "0x636363", "xterm": 241},
    "gray4": {"ansi": 0, "rgb": "0x0a0a0a", "xterm": 232},
    "gray40": {"ansi": 7, "rgb": "0x666666", "xterm": 241},
    "gray41": {"ansi": 7, "rgb": "0x696969", "xterm": 242},
    "gray42": {"ansi": 7, "rgb": "0x6b6b6b", "xterm": 242},
    "gray43": {"ansi": 7, "rgb": "0x6e6e6e", "xterm": 242},
    "gray44": {"ansi": 7, "rgb": "0x707070", "xterm": 242},
    "gray45": {"ansi": 7, "rgb": "0x737373", "xterm": 243},
    "gray46": {"ansi": 7, "rgb": "0x757575", "xterm": 243},
    "gray47": {"ansi": 7, "rgb": "0x787878", "xterm": 243},
    "gray48": {"ansi": 7, "rgb": "0x7a7a7a", "xterm": 243},
    "gray49": {"ansi": 256, "rgb": "0x7d7d7d", "xterm": 8},
    "gray5": {"ansi": 0, "rgb": "0x0d0d0d", "xterm": 232},
    "gray50": {"ansi": 256, "rgb": "0x7f7f7f", "xterm": 8},
    "gray51": {"ansi": 256, "rgb": "0x828282", "xterm": 8},
    "gray52": {"ansi": 2, "rgb": "0x858585", "xterm": 102},
    "gray53": {"ansi": 2, "rgb": "0x878787", "xterm": 102},
    "gray54": {"ansi": 7, "rgb": "0x8a8a8a", "xterm": 245},
    "gray55": {"ansi": 7, "rgb": "0x8c8c8c", "xterm": 245},
    "gray56": {"ansi": 7, "rgb": "0x8f8f8f", "xterm": 245},
    "gray57": {"ansi": 7, "rgb": "0x919191", "xterm": 246},
    "gray58": {"ansi": 7, "rgb": "0x949494", "xterm": 246},
    "gray59": {"ansi": 7, "rgb": "0x969696", "xterm": 246},
    "gray6": {"ansi": 0, "rgb": "0x0f0f0f", "xterm": 233},
    "gray60": {"ansi": 7, "rgb": "0x999999", "xterm": 246},
    "gray61": {"ansi": 7, "rgb": "0x9c9c9c", "xterm": 247},
    "gray62": {"ansi": 7, "rgb": "0x9e9e9e", "xterm": 247},
    "gray63": {"ansi": 7, "rgb": "0xa1a1a1", "xterm": 247},
    "gray64": {"ansi": 7, "rgb": "0xa3a3a3", "xterm": 247},
    "gray65": {"ansi": 263, "rgb": "0xa6a6a6", "xterm": 248},
    "gray66": {"ansi": 263, "rgb": "0xa8a8a8", "xterm": 248},
    "gray67": {"ansi": 263, "rgb": "0xababab", "xterm": 248},
    "gray68": {"ansi": 261, "rgb": "0xadadad", "xterm": 145},
    "gray69": {"ansi": 261, "rgb": "0xb0b0b0", "xterm": 145},
    "gray7": {"ansi": 0, "rgb": "0x121212", "xterm": 233},
    "gray70": {"ansi": 263, "rgb": "0xb3b3b3", "xterm": 249},
    "gray71": {"ansi": 263, "rgb": "0xb5b5b5", "xterm": 249},
    "gray72": {"ansi": 263, "rgb": "0xb8b8b8", "xterm": 250},
    "gray73": {"ansi": 263, "rgb": "0xbababa", "xterm": 250},
    "gray74": {"ansi": 263, "rgb": "0xbdbdbd", "xterm": 250},
    "gray75": {"ansi": 7, "rgb": "0xbfbfbf", "xterm": 7},
    "gray76": {"ansi": 7, "rgb": "0xc2c2c2", "xterm": 7},
    "gray77": {"ansi": 263, "rgb": "0xc4c4c4", "xterm": 251},
    "gray78": {"ansi": 263, "rgb": "0xc7c7c7", "xterm": 251},
    "gray79": {"ansi": 263, "rgb": "0xc9c9c9", "xterm": 251},
    "gray8": {"ansi": 0, "rgb": "0x141414", "xterm": 233},
    "gray80": {"ansi": 263, "rgb": "0xcccccc", "xterm": 252},
    "gray81": {"ansi": 263, "rgb": "0xcfcfcf", "xterm": 252},
    "gray82": {"ansi": 263, "rgb": "0xd1d1d1", "xterm": 252},
    "gray83": {"ansi": 263, "rgb": "0xd4d4d4", "xterm": 188},
    "gray84": {"ansi": 263, "rgb": "0xd6d6d6", "xterm": 188},
    "gray85": {"ansi": 263, "rgb": "0xd9d9d9", "xterm": 253},
    "gray86": {"ansi": 263, "rgb": "0xdbdbdb", "xterm": 253},
    "gray87": {"ansi": 263, "rgb": "0xdedede", "xterm": 253},
    "gray88": {"ansi": 263, "rgb": "0xe0e0e0", "xterm": 254},
    "gray89": {"ansi": 263, "rgb": "0xe3e3e3", "xterm": 254},
    "gray9": {"ansi": 0, "rgb": "0x171717", "xterm": 233},
    "gray90": {"ansi": 263, "rgb": "0xe5e5e5", "xterm": 254},
    "gray91": {"ansi": 263, "rgb": "0xe8e8e8", "xterm": 254},
    "gray92": {"ansi": 263, "rgb": "0xebebeb", "xterm": 255},
    "gray93": {"ansi": 263, "rgb": "0xededed", "xterm": 255},
    "gray94": {"ansi": 263, "rgb": "0xf0f0f0", "xterm": 255},
    "gray95": {"ansi": 263, "rgb": "0xf2f2f2", "xterm": 255},
    "gray96": {"ansi": 263, "rgb": "0xf5f5f5", "xterm": 255},
    "gray97": {"ansi": 263, "rgb": "0xf7f7f7", "xterm": 15},
    "gray98": {"ansi": 263, "rgb": "0xfafafa", "xterm": 15},
    "gray99": {"ansi": 263, "rgb": "0xfcfcfc", "xterm": 15},
    "green": {"ansi": 258, "rgb": "0x00ff00", "xterm": 46},
    "green1": {"ansi": 258, "rgb": "0x00ff00", "xterm": 46},
    "green2": {"ansi": 258, "rgb": "0x00ee00", "xterm": 10},
    "green3": {"ansi": 258, "rgb": "0x00cd00", "xterm": 40},
    "green4": {"ansi": 258, "rgb": "0x008b00", "xterm": 28},
    "greenyellow": {"ansi": 259, "rgb": "0xadff2f", "xterm": 154},
    "grey": {"ansi": 7, "rgb": "0xbebebe", "xterm": 7},
    "grey0": {"ansi": 0, "rgb": "0x000000", "xterm": 16},
    "grey1": {"ansi": 0, "rgb": "0x030303", "xterm": 0},
    "grey10": {"ansi": 256, "rgb": "0x1a1a1a", "xterm": 234},
    "grey100": {"ansi": 263, "rgb": "0xffffff", "xterm": 231},
    "grey11": {"ansi": 256, "rgb": "0x1c1c1c", "xterm": 234},
    "grey12": {"ansi": 256, "rgb": "0x1f1f1f", "xterm": 234},
    "grey13": {"ansi": 256, "rgb": "0x212121", "xterm": 234},
    "grey14": {"ansi": 256, "rgb": "0x242424", "xterm": 235},
    "grey15": {"ansi": 256, "rgb": "0x262626", "xterm": 235},
    "grey16": {"ansi": 256, "rgb": "0x292929", "xterm": 235},
    "grey17": {"ansi": 256, "rgb": "0x2b2b2b", "xterm": 235},
    "grey18": {"ansi": 256, "rgb": "0x2e2e2e", "xterm": 236},
    "grey19": {"ansi": 256, "rgb": "0x303030", "xterm": 236},
    "grey2": {"ansi": 0, "rgb": "0x050505", "xterm": 232},
    "grey20": {"ansi": 256, "rgb": "0x333333", "xterm": 236},
    "grey21": {"ansi": 256, "rgb": "0x363636", "xterm": 237},
    "grey22": {"ansi": 256, "rgb": "0x383838", "xterm": 237},
    "grey23": {"ansi": 256, "rgb": "0x3b3b3b", "xterm": 237},
    "grey24": {"ansi": 256, "rgb": "0x3d3d3d", "xterm": 237},
    "grey25": {"ansi": 256, "rgb": "0x404040", "xterm": 238},
    "grey26": {"ansi": 256, "rgb": "0x424242", "xterm": 238},
    "grey27": {"ansi": 256, "rgb": "0x454545", "xterm": 238},
    "grey28": {"ansi": 256, "rgb": "0x474747", "xterm": 238},
    "grey29": {"ansi": 256, "rgb": "0x4a4a4a", "xterm": 239},
    "grey3": {"ansi": 0, "rgb": "0x080808", "xterm": 232},
    "grey30": {"ansi": 256, "rgb": "0x4d4d4d", "xterm": 239},
    "grey31": {"ansi": 256, "rgb": "0x4f4f4f", "xterm": 239},
    "grey32": {"ansi": 256, "rgb": "0x525252", "xterm": 239},
    "grey33": {"ansi": 256, "rgb": "0x545454", "xterm": 240},
    "grey34": {"ansi": 256, "rgb": "0x575757", "xterm": 240},
    "grey35": {"ansi": 256, "rgb": "0x595959", "xterm": 240},
    "grey36": {"ansi": 2, "rgb": "0x5c5c5c", "xterm": 59},
    "grey37": {"ansi": 2, "rgb": "0x5e5e5e", "xterm": 59},
    "grey38": {"ansi": 7, "rgb": "0x616161", "xterm": 241},
    "grey39": {"ansi": 7, "rgb": "0x636363", "xterm": 241},
    "grey4": {"ansi": 0, "rgb": "0x0a0a0a", "xterm": 232},
    "grey40": {"ansi": 7, "rgb": "0x666666", "xterm": 241},
    "grey41": {"ansi": 7, "rgb": "0x696969", "xterm": 242},
    "grey42": {"ansi": 7, "rgb": "0x6b6b6b", "xterm": 242},
    "grey43": {"ansi": 7, "rgb": "0x6e6e6e", "xterm": 242},
    "grey44": {"ansi": 7, "rgb": "0x707070", "xterm": 242},
    "grey45": {"ansi": 7, "rgb": "0x737373", "xterm": 243},
    "grey46": {"ansi": 7, "rgb": "0x757575", "xterm": 243},
    "grey47": {"ansi": 7, "rgb": "0x787878", "xterm": 243},
    "grey48": {"ansi": 7, "rgb": "0x7a7a7a", "xterm": 243},
    "grey49": {"ansi": 256, "rgb": "0x7d7d7d", "xterm": 8},
    "grey5": {"ansi": 0, "rgb": "0x0d0d0d", "xterm": 232},
    "grey50": {"ansi": 256, "rgb": "0x7f7f7f", "xterm": 8},
    "grey51": {"ansi": 256, "rgb": "0x828282", "xterm": 8},
    "grey52": {"ansi": 2, "rgb": "0x858585", "xterm": 102},
    "grey53": {"ansi": 2, "rgb": "0x878787", "xterm": 102},
    "grey54": {"ansi": 7, "rgb": "0x8a8a8a", "xterm": 245},
    "grey55": {"ansi": 7, "rgb": "0x8c8c8c", "xterm": 245},
    "grey56": {"ansi": 7, "rgb": "0x8f8f8f", "xterm": 245},
    "grey57": {"ansi": 7, "rgb": "0x919191", "xterm": 246},
    "grey58": {"ansi": 7, "rgb": "0x949494", "xterm": 246},
    "grey59": {"ansi": 7, "rgb": "0x969696", "xterm": 246},
    "grey6": {"ansi": 0, "rgb": "0x0f0f0f", "xterm": 233},
    "grey60": {"ansi": 7, "rgb": "0x999999", "xterm": 246},
    "grey61": {"ansi": 7, "rgb": "0x9c9c9c", "xterm": 247},
    "grey62": {"ansi": 7, "rgb": "0x9e9e9e", "xterm": 247},
    "grey63": {"ansi": 7, "rgb": "0xa1a1a1", "xterm": 247},
    "grey64": {"ansi": 7, "rgb": "0xa3a3a3", "xterm": 247},
    "grey65": {"ansi": 263, "rgb": "0xa6a6a6", "xterm": 248},
    "grey66": {"ansi": 263, "rgb": "0xa8a8a8", "xterm": 248},
    "grey67": {"ansi": 263, "rgb": "0xababab", "xterm": 248},
    "grey68": {"ansi": 261, "rgb": "0xadadad", "xterm": 145},
    "grey69": {"ansi": 261, "rgb": "0xb0b0b0", "xterm": 145},
    "grey7": {"ansi": 0, "rgb": "0x121212", "xterm": 233},
    "grey70": {"ansi": 263, "rgb": "0xb3b3b3", "xterm": 249},
    "grey71": {"ansi": 263, "rgb": "0xb5b5b5", "xterm": 249},
    "grey72": {"ansi": 263, "rgb": "0xb8b8b8", "xterm": 250},
    "grey73": {"ansi": 263, "rgb": "0xbababa", "xterm": 250},
    "grey74": {"ansi": 263, "rgb": "0xbdbdbd", "xterm": 250},
    "grey75": {"ansi": 7, "rgb": "0xbfbfbf", "xterm": 7},
    "grey76": {"ansi": 7, "rgb": "0xc2c2c2", "xterm": 7},
    "grey77": {"ansi": 263, "rgb": "0xc4c4c4", "xterm": 251},
    "grey78": {"ansi": 263, "rgb": "0xc7c7c7", "xterm": 251},
    "grey79": {"ansi": 263, "rgb": "0xc9c9c9", "xterm": 251},
    "grey8": {"ansi": 0, "rgb": "0x141414", "xterm": 233},
    "grey80": {"ansi": 263, "rgb": "0xcccccc", "xterm": 252},
    "grey81": {"ansi": 263, "rgb": "0xcfcfcf", "xterm": 252},
    "grey82": {"ansi": 263, "rgb": "0xd1d1d1", "xterm": 252},
    "grey83": {"ansi": 263, "rgb": "0xd4d4d4", "xterm": 188},
    "grey84": {"ansi": 263, "rgb": "0xd6d6d6", "xterm": 188},
    "grey85": {"ansi": 263, "rgb": "0xd9d9d9", "xterm": 253},
    "grey86": {"ansi": 263, "rgb": "0xdbdbdb", "xterm": 253},
    "grey87": {"ansi": 263, "rgb": "0xdedede", "xterm": 253},
    "grey88": {"ansi": 263, "rgb": "0xe0e0e0", "xterm": 254},
    "grey89": {"ansi": 263, "rgb": "0xe3e3e3", "xterm": 254},
    "grey9": {"ansi": 0, "rgb": "0x171717", "xterm": 233},
    "grey90": {"ansi": 263, "rgb": "0xe5e5e5", "xterm": 254},
    "grey91": {"ansi": 263, "rgb": "0xe8e8e8", "xterm": 254},
    "grey92": {"ansi": 263, "rgb": "0xebebeb", "xterm": 255},
    "grey93": {"ansi": 263, "rgb": "0xededed", "xterm": 255},
    "grey94": {"ansi": 263, "rgb": "0xf0f0f0", "xterm": 255},
    "grey95": {"ansi": 263, "rgb": "0xf2f2f2", "xterm": 255},
    "grey96": {"ansi": 263, "rgb": "0xf5f5f5", "xterm": 255},
    "grey97": {"ansi": 263, "rgb": "0xf7f7f7", "xterm": 15},
    "grey98": {"ansi": 263, "rgb": "0xfafafa", "xterm": 15},
    "grey99": {"ansi": 263, "rgb": "0xfcfcfc", "xterm": 15},
    "honeydew": {"ansi": 263, "rgb": "0xf0fff0", "xterm": 255},
    "honeydew1": {"ansi": 263, "rgb": "0xf0fff0", "xterm": 255},
    "honeydew2": {"ansi": 263, "rgb": "0xe0eee0", "xterm": 254},
    "honeydew3": {"ansi": 263, "rgb": "0xc1cdc1", "xterm": 251},
    "honeydew4": {"ansi": 2, "rgb": "0x838b83", "xterm": 102},
    "hotpink": {"ansi": 261, "rgb": "0xff69b4", "xterm": 205},
    "hotpink1": {"ansi": 261, "rgb": "0xff6eb4", "xterm": 205},
    "hotpink2": {"ansi": 261, "rgb": "0xee6aa7", "xterm": 205},
    "hotpink3": {"ansi": 257, "rgb": "0xcd6090", "xterm": 168},
    "hotpink4": {"ansi": 1, "rgb": "0x8b3a62", "xterm": 95},
    "indianred": {"ansi": 257, "rgb": "0xcd5c5c", "xterm": 167},
    "indianred1": {"ansi": 257, "rgb": "0xff6a6a", "xterm": 203},
    "indianred2": {"ansi": 257, "rgb": "0xee6363", "xterm": 203},
    "indianred3": {"ansi": 257, "rgb": "0xcd5555", "xterm": 167},
    "indianred4": {"ansi": 1, "rgb": "0x8b3a3a", "xterm": 95},
    "ivory": {"ansi": 263, "rgb": "0xfffff0", "xterm": 15},
    "ivory1": {"ansi": 263, "rgb": "0xfffff0", "xterm": 15},
    "ivory2": {"ansi": 263, "rgb": "0xeeeee0", "xterm": 255},
    "ivory3": {"ansi": 263, "rgb": "0xcdcdc1", "xterm": 251},
    "ivory4": {"ansi": 2, "rgb": "0x8b8b83", "xterm": 102},
    "khaki": {"ansi": 259, "rgb": "0xf0e68c", "xterm": 222},
    "khaki1": {"ansi": 259, "rgb": "0xfff68f", "xterm": 228},
    "khaki2": {"ansi": 259, "rgb": "0xeee685", "xterm": 222},
    "khaki3": {"ansi": 3, "rgb": "0xcdc673", "xterm": 185},
    "khaki4": {"ansi": 2, "rgb": "0x8b864e", "xterm": 101},
    "lavender": {"ansi": 263, "rgb": "0xe6e6fa", "xterm": 255},
    "lavenderblush": {"ansi": 263, "rgb": "0xfff0f5", "xterm": 15},
    "lavenderblush1": {"ansi": 263, "rgb": "0xfff0f5", "xterm": 15},
    "lavenderblush2": {"ansi": 263, "rgb": "0xeee0e5", "xterm": 254},
    "lavenderblush3": {"ansi": 263, "rgb": "0xcdc1c5", "xterm": 251},
    "lavenderblush4": {"ansi": 2, "rgb": "0x8b8386", "xterm": 102},
    "lawngreen": {"ansi": 258, "rgb": "0x7cfc00", "xterm": 118},
    "lemonchiffon": {"ansi": 263, "rgb": "0xfffacd", "xterm": 230},
    "lemonchiffon1": {"ansi": 263, "rgb": "0xfffacd", "xterm": 230},
    "lemonchiffon2": {"ansi": 263, "rgb": "0xeee9bf", "xterm": 223},
    "lemonchiffon3": {"ansi": 263, "rgb": "0xcdc9a5", "xterm": 187},
    "lemonchiffon4": {"ansi": 2, "rgb": "0x8b8970", "xterm": 101},
    "lightblue": {"ansi": 263, "rgb": "0xadd8e6", "xterm": 152},
    "lightblue1": {"ansi": 263, "rgb": "0xbfefff", "xterm": 159},
    "lightblue2": {"ansi": 263, "rgb": "0xb2dfee", "xterm": 153},
    "lightblue3": {"ansi": 262, "rgb": "0x9ac0cd", "xterm": 110},
    "lightblue4": {"ansi": 2, "rgb": "0x68838b", "xterm": 66},
    "lightcoral": {"ansi": 261, "rgb": "0xf08080", "xterm": 210},
    "lightcyan": {"ansi": 263, "rgb": "0xe0ffff", "xterm": 195},
    "lightcyan1": {"ansi": 263, "rgb": "0xe0ffff", "xterm": 195},
    "lightcyan2": {"ansi": 263, "rgb": "0xd1eeee", "xterm": 254},
    "lightcyan3": {"ansi": 263, "rgb": "0xb4cdcd", "xterm": 152},
    "lightcyan4": {"ansi": 2, "rgb": "0x7a8b8b", "xterm": 102},
    "lightgoldenrod": {"ansi": 259, "rgb": "0xeedd82", "xterm": 222},
    "lightgoldenrod1": {"ansi": 259, "rgb": "0xffec8b", "xterm": 228},
    "lightgoldenrod2": {"ansi": 259, "rgb": "0xeedc82", "xterm": 222},
    "lightgoldenrod3": {"ansi": 3, "rgb": "0xcdbe70", "xterm": 179},
    "lightgoldenrod4": {"ansi": 2, "rgb": "0x8b814c", "xterm": 101},
    "lightgoldenrodyellow": {"ansi": 263, "rgb": "0xfafad2", "xterm": 230},
    "lightgray": {"ansi": 263, "rgb": "0xd3d3d3", "xterm": 252},
    "lightgreen": {"ansi": 258, "rgb": "0x90ee90", "xterm": 120},
    "lightgrey": {"ansi": 263, "rgb": "0xd3d3d3", "xterm": 252},
    "lightpink": {"ansi": 263, "rgb": "0xffb6c1", "xterm": 217},
    "lightpink1": {"ansi": 263, "rgb": "0xffaeb9", "xterm": 217},
    "lightpink2": {"ansi": 263, "rgb": "0xeea2ad", "xterm": 217},
    "lightpink3": {"ansi": 3, "rgb": "0xcd8c95", "xterm": 174},
    "lightpink4": {"ansi": 1, "rgb": "0x8b5f65", "xterm": 95},
    "lightsalmon": {"ansi": 263, "rgb": "0xffa07a", "xterm": 216},
    "lightsalmon1": {"ansi": 263, "rgb": "0xffa07a", "xterm": 216},
    "lightsalmon2": {"ansi": 257, "rgb": "0xee9572", "xterm": 209},
    "lightsalmon3": {"ansi": 3, "rgb": "0xcd8162", "xterm": 173},
    "lightsalmon4": {"ansi": 1, "rgb": "0x8b5742", "xterm": 95},
    "lightseagreen": {"ansi": 262, "rgb": "0x20b2aa", "xterm": 37},
    "lightskyblue": {"ansi": 262, "rgb": "0x87cefa", "xterm": 117},
    "lightskyblue1": {"ansi": 263, "rgb": "0xb0e2ff", "xterm": 153},
    "lightskyblue2": {"ansi": 263, "rgb": "0xa4d3ee", "xterm": 153},
    "lightskyblue3": {"ansi": 262, "rgb": "0x8db6cd", "xterm": 110},
    "lightskyblue4": {"ansi": 2, "rgb": "0x607b8b", "xterm": 66},
    "lightslateblue": {"ansi": 261, "rgb": "0x8470ff", "xterm": 99},
    "lightslategray": {"ansi": 2, "rgb": "0x778899", "xterm": 102},
    "lightslategrey": {"ansi": 2, "rgb": "0x778899", "xterm": 102},
    "lightsteelblue": {"ansi": 263, "rgb": "0xb0c4de", "xterm": 152},
    "lightsteelblue1": {"ansi": 263, "rgb": "0xcae1ff", "xterm": 189},
    "lightsteelblue2": {"ansi": 263, "rgb": "0xbcd2ee", "xterm": 153},
    "lightsteelblue3": {"ansi": 261, "rgb": "0xa2b5cd", "xterm": 146},
    "lightsteelblue4": {"ansi": 2, "rgb": "0x6e7b8b", "xterm": 66},
    "lightyellow": {"ansi": 263, "rgb": "0xffffe0", "xterm": 230},
    "lightyellow1": {"ansi": 263, "rgb": "0xffffe0", "xterm": 230},
    "lightyellow2": {"ansi": 263, "rgb": "0xeeeed1", "xterm": 254},
    "lightyellow3": {"ansi": 263, "rgb": "0xcdcdb4", "xterm": 187},
    "lightyellow4": {"ansi": 2, "rgb": "0x8b8b7a", "xterm": 102},
    "lime": {"ansi": 258, "rgb": "0x00ff00", "xterm": 10},
    "limegreen": {"ansi": 258, "rgb": "0x32cd32", "xterm": 77},
    "linen": {"ansi": 263, "rgb": "0xfaf0e6", "xterm": 255},
    "magenta": {"ansi": 261, "rgb": "0xff00ff", "xterm": 201},
    "magenta1": {"ansi": 261, "rgb": "0xff00ff", "xterm": 201},
    "magenta2": {"ansi": 261, "rgb": "0xee00ee", "xterm": 13},
    "magenta3": {"ansi": 261, "rgb": "0xcd00cd", "xterm": 164},
    "magenta4": {"ansi": 5, "rgb": "0x8b008b", "xterm": 90},
    "maroon": {"ansi": 257, "rgb": "0xb03060", "xterm": 131},
    "maroon1": {"ansi": 261, "rgb": "0xff34b3", "xterm": 205},
    "maroon2": {"ansi": 261, "rgb": "0xee30a7", "xterm": 205},
    "maroon3": {"ansi": 261, "rgb": "0xcd2990", "xterm": 162},
    "maroon4": {"ansi": 1, "rgb": "0x8b1c62", "xterm": 89},
    "mediumaquamarine": {"ansi": 262, "rgb": "0x66cdaa", "xterm": 79},
    "mediumblue": {"ansi": 260, "rgb": "0x0000cd", "xterm": 20},
    "mediumorchid": {"ansi": 261, "rgb": "0xba55d3", "xterm": 134},
    "mediumorchid1": {"ansi": 261, "rgb": "0xe066ff", "xterm": 171},
    "mediumorchid2": {"ansi": 261, "rgb": "0xd15fee", "xterm": 171},
    "mediumorchid3": {"ansi": 261, "rgb": "0xb452cd", "xterm": 134},
    "mediumorchid4": {"ansi": 5, "rgb": "0x7a378b", "xterm": 96},
    "mediumpurple": {"ansi": 261, "rgb": "0x9370db", "xterm": 98},
    "mediumpurple1": {"ansi": 261, "rgb": "0xab82ff", "xterm": 141},
    "mediumpurple2": {"ansi": 261, "rgb": "0x9f79ee", "xterm": 141},
    "mediumpurple3": {"ansi": 261, "rgb": "0x8968cd", "xterm": 98},
    "mediumpurple4": {"ansi": 6, "rgb": "0x5d478b", "xterm": 60},
    "mediumseagreen": {"ansi": 2, "rgb": "0x3cb371", "xterm": 71},
    "mediumslateblue": {"ansi": 261, "rgb": "0x7b68ee", "xterm": 99},
    "mediumspringgreen": {"ansi": 258, "rgb": "0x00fa9a", "xterm": 48},
    "mediumturquoise": {"ansi": 262, "rgb": "0x48d1cc", "xterm": 80},
    "mediumvioletred": {"ansi": 261, "rgb": "0xc71585", "xterm": 162},
    "midnightblue": {"ansi": 4, "rgb": "0x191970", "xterm": 4},
    "mintcream": {"ansi": 263, "rgb": "0xf5fffa", "xterm": 15},
    "mistyrose": {"ansi": 263, "rgb": "0xffe4e1", "xterm": 224},
    "mistyrose1": {"ansi": 263, "rgb": "0xffe4e1", "xterm": 224},
    "mistyrose2": {"ansi": 263, "rgb": "0xeed5d2", "xterm": 224},
    "mistyrose3": {"ansi": 261, "rgb": "0xcdb7b5", "xterm": 181},
    "mistyrose4": {"ansi": 256, "rgb": "0x8b7d7b", "xterm": 8},
    "moccasin": {"ansi": 263, "rgb": "0xffe4b5", "xterm": 223},
    "navajowhite": {"ansi": 263, "rgb": "0xffdead", "xterm": 223},
    "navajowhite1": {"ansi": 263, "rgb": "0xffdead", "xterm": 223},
    "navajowhite2": {"ansi": 263, "rgb": "0xeecfa1", "xterm": 223},
    "navajowhite3": {"ansi": 259, "rgb": "0xcdb38b", "xterm": 180},
    "navajowhite4": {"ansi": 2, "rgb": "0x8b795e", "xterm": 101},
    "navy": {"ansi": 4, "rgb": "0x000080", "xterm": 4},
    "navyblue": {"ansi": 4, "rgb": "0x000080", "xterm": 4},
    "oldlace": {"ansi": 263, "rgb": "0xfdf5e6", "xterm": 230},
    "olive": {"ansi": 3, "rgb": "0x808000", "xterm": 3},
    "olivedrab": {"ansi": 2, "rgb": "0x6b8e23", "xterm": 64},
    "olivedrab1": {"ansi": 259, "rgb": "0xc0ff3e", "xterm": 155},
    "olivedrab2": {"ansi": 259, "rgb": "0xb3ee3a", "xterm": 155},
    "olivedrab3": {"ansi": 258, "rgb": "0x9acd32", "xterm": 113},
    "olivedrab4": {"ansi": 2, "rgb": "0x698b22", "xterm": 64},
    "orange": {"ansi": 259, "rgb": "0xffa500", "xterm": 214},
    "orange1": {"ansi": 259, "rgb": "0xffa500", "xterm": 214},
    "orange2": {"ansi": 257, "rgb": "0xee9a00", "xterm": 208},
    "orange3": {"ansi": 3, "rgb": "0xcd8500", "xterm": 172},
    "orange4": {"ansi": 2, "rgb": "0x8b5a00", "xterm": 94},
    "orangered": {"ansi": 257, "rgb": "0xff4500", "xterm": 202},
    "orangered1": {"ansi": 257, "rgb": "0xff4500", "xterm": 202},
    "orangered2": {"ansi": 257, "rgb": "0xee4000", "xterm": 202},
    "orangered3": {"ansi": 257, "rgb": "0xcd3700", "xterm": 166},
    "orangered4": {"ansi": 1, "rgb": "0x8b2500", "xterm": 88},
    "orchid": {"ansi": 261, "rgb": "0xda70d6", "xterm": 170},
    "orchid1": {"ansi": 261, "rgb": "0xff83fa", "xterm": 213},
    "orchid2": {"ansi": 261, "rgb": "0xee7ae9", "xterm": 212},
    "orchid3": {"ansi": 261, "rgb": "0xcd69c9", "xterm": 170},
    "orchid4": {"ansi": 5, "rgb": "0x8b4789", "xterm": 96},
    "palegoldenrod": {"ansi": 263, "rgb": "0xeee8aa", "xterm": 223},
    "palegreen": {"ansi": 258, "rgb": "0x98fb98", "xterm": 120},
    "palegreen1": {"ansi": 258, "rgb": "0x9aff9a", "xterm": 120},
    "palegreen2": {"ansi": 258, "rgb": "0x90ee90", "xterm": 120},
    "palegreen3": {"ansi": 258, "rgb": "0x7ccd7c", "xterm": 114},
    "palegreen4": {"ansi": 2, "rgb": "0x548b54", "xterm": 65},
    "paleturquoise": {"ansi": 263, "rgb": "0xafeeee", "xterm": 159},
    "paleturquoise1": {"ansi": 263, "rgb": "0xbbffff", "xterm": 159},
    "paleturquoise2": {"ansi": 263, "rgb": "0xaeeeee", "xterm": 159},
    "paleturquoise3": {"ansi": 262, "rgb": "0x96cdcd", "xterm": 116},
    "paleturquoise4": {"ansi": 2, "rgb": "0x668b8b", "xterm": 66},
    "palevioletred": {"ansi": 257, "rgb": "0xdb7093", "xterm": 168},
    "palevioletred1": {"ansi": 261, "rgb": "0xff82ab", "xterm": 211},
    "palevioletred2": {"ansi": 261, "rgb": "0xee799f", "xterm": 211},
    "palevioletred3": {"ansi": 257, "rgb": "0xcd6889", "xterm": 168},
    "palevioletred4": {"ansi": 1, "rgb": "0x8b475d", "xterm": 95},
    "papayawhip": {"ansi": 263, "rgb": "0xffefd5", "xterm": 230},
    "peachpuff": {"ansi": 263, "rgb": "0xffdab9", "xterm": 223},
    "peachpuff1": {"ansi": 263, "rgb": "0xffdab9", "xterm": 223},
    "peachpuff2": {"ansi": 263, "rgb": "0xeecbad", "xterm": 223},
    "peachpuff3": {"ansi": 259, "rgb": "0xcdaf95", "xterm": 180},
    "peachpuff4": {"ansi": 2, "rgb": "0x8b7765", "xterm": 101},
    "peru": {"ansi": 3, "rgb": "0xcd853f", "xterm": 173},
    "pink": {"ansi": 263, "rgb": "0xffc0cb", "xterm": 218},
    "pink1": {"ansi": 263, "rgb": "0xffb5c5", "xterm": 218},
    "pink2": {"ansi": 263, "rgb": "0xeea9b8", "xterm": 217},
    "pink3": {"ansi": 261, "rgb": "0xcd919e", "xterm": 175},
    "pink4": {"ansi": 1, "rgb": "0x8b636c", "xterm": 95},
    "plum": {"ansi": 261, "rgb": "0xdda0dd", "xterm": 182},
    "plum1": {"ansi": 263, "rgb": "0xffbbff", "xterm": 219},
    "plum2": {"ansi": 263, "rgb": "0xeeaeee", "xterm": 219},
    "plum3": {"ansi": 261, "rgb": "0xcd96cd", "xterm": 176},
    "plum4": {"ansi": 5, "rgb": "0x8b668b", "xterm": 96},
    "powderblue": {"ansi": 263, "rgb": "0xb0e0e6", "xterm": 152},
    "purple": {"ansi": 261, "rgb": "0xa020f0", "xterm": 129},
    "purple1": {"ansi": 261, "rgb": "0x9b30ff", "xterm": 99},
    "purple2": {"ansi": 261, "rgb": "0x912cee", "xterm": 93},
    "purple3": {"ansi": 261, "rgb": "0x7d26cd", "xterm": 92},
    "purple4": {"ansi": 5, "rgb": "0x551a8b", "xterm": 54},
    "red": {"ansi": 257, "rgb": "0xff0000", "xterm": 196},
    "red1": {"ansi": 257, "rgb": "0xff0000", "xterm": 196},
    "red2": {"ansi": 257, "rgb": "0xee0000", "xterm": 9},
    "red3": {"ansi": 1, "rgb": "0xcd0000", "xterm": 160},
    "red4": {"ansi": 1, "rgb": "0x8b0000", "xterm": 88},
    "rosybrown": {"ansi": 261, "rgb": "0xbc8f8f", "xterm": 138},
    "rosybrown1": {"ansi": 263, "rgb": "0xffc1c1", "xterm": 217},
    "rosybrown2": {"ansi": 263, "rgb": "0xeeb4b4", "xterm": 217},
    "rosybrown3": {"ansi": 3, "rgb": "0xcd9b9b", "xterm": 174},
    "rosybrown4": {"ansi": 1, "rgb": "0x8b6969", "xterm": 95},
    "royalblue": {"ansi": 260, "rgb": "0x4169e1", "xterm": 62},
    "royalblue1": {"ansi": 260, "rgb": "0x4876ff", "xterm": 69},
    "royalblue2": {"ansi": 260, "rgb": "0x436eee", "xterm": 63},
    "royalblue3": {"ansi": 260, "rgb": "0x3a5fcd", "xterm": 62},
    "royalblue4": {"ansi": 4, "rgb": "0x27408b", "xterm": 24},
    "saddlebrown": {"ansi": 2, "rgb": "0x8b4513", "xterm": 94},
    "salmon": {"ansi": 257, "rgb": "0xfa8072", "xterm": 209},
    "salmon1": {"ansi": 257, "rgb": "0xff8c69", "xterm": 209},
    "salmon2": {"ansi": 257, "rgb": "0xee8262", "xterm": 209},
    "salmon3": {"ansi": 257, "rgb": "0xcd7054", "xterm": 167},
    "salmon4": {"ansi": 1, "rgb": "0x8b4c39", "xterm": 95},
    "sandybrown": {"ansi": 259, "rgb": "0xf4a460", "xterm": 215},
    "seagreen": {"ansi": 2, "rgb": "0x2e8b57", "xterm": 29},
    "seagreen1": {"ansi": 258, "rgb": "0x54ff9f", "xterm": 85},
    "seagreen2": {"ansi": 258, "rgb": "0x4eee94", "xterm": 84},
    "seagreen3": {"ansi": 258, "rgb": "0x43cd80", "xterm": 78},
    "seagreen4": {"ansi": 2, "rgb": "0x2e8b57", "xterm": 29},
    "seashell": {"ansi": 263, "rgb": "0xfff5ee", "xterm": 255},
    "seashell1": {"ansi": 263, "rgb": "0xfff5ee", "xterm": 255},
    "seashell2": {"ansi": 263, "rgb": "0xeee5de", "xterm": 254},
    "seashell3": {"ansi": 263, "rgb": "0xcdc5bf", "xterm": 251},
    "seashell4": {"ansi": 2, "rgb": "0x8b8682", "xterm": 102},
    "sienna": {"ansi": 257, "rgb": "0xa0522d", "xterm": 130},
    "sienna1": {"ansi": 257, "rgb": "0xff8247", "xterm": 209},
    "sienna2": {"ansi": 257, "rgb": "0xee7942", "xterm": 209},
    "sienna3": {"ansi": 257, "rgb": "0xcd6839", "xterm": 167},
    "sienna4": {"ansi": 2, "rgb": "0x8b4726", "xterm": 94},
    "silver": {"ansi": 7, "rgb": "0xc0c0c0", "xterm": 7},
    "skyblue": {"ansi": 262, "rgb": "0x87ceeb", "xterm": 116},
    "skyblue1": {"ansi": 262, "rgb": "0x87ceff", "xterm": 117},
    "skyblue2": {"ansi": 262, "rgb": "0x7ec0ee", "xterm": 111},
    "skyblue3": {"ansi": 262, "rgb": "0x6ca6cd", "xterm": 74},
    "skyblue4": {"ansi": 6, "rgb": "0x4a708b", "xterm": 60},
    "slateblue": {"ansi": 260, "rgb": "0x6a5acd", "xterm": 62},
    "slateblue1": {"ansi": 261, "rgb": "0x836fff", "xterm": 99},
    "slateblue2": {"ansi": 261, "rgb": "0x7a67ee", "xterm": 99},
    "slateblue3": {"ansi": 260, "rgb": "0x6959cd", "xterm": 62},
    "slateblue4": {"ansi": 6, "rgb": "0x473c8b", "xterm": 60},
    "slategray": {"ansi": 2, "rgb": "0x708090", "xterm": 66},
    "slategray1": {"ansi": 263, "rgb": "0xc6e2ff", "xterm": 189},
    "slategray2": {"ansi": 263, "rgb": "0xb9d3ee", "xterm": 153},
    "slategray3": {"ansi": 261, "rgb": "0x9fb6cd", "xterm": 146},
    "slategray4": {"ansi": 2, "rgb": "0x6c7b8b", "xterm": 66},
    "slategrey": {"ansi": 2, "rgb": "0x708090", "xterm": 66},
    "slategrey1": {"ansi": 263, "rgb": "0xc6e2ff", "xterm": 189},
    "slategrey2": {"ansi": 263, "rgb": "0xb9d3ee", "xterm": 153},
    "slategrey3": {"ansi": 261, "rgb": "0x9fb6cd", "xterm": 146},
    "slategrey4": {"ansi": 2, "rgb": "0x6c7b8b", "xterm": 66},
    "snow": {"ansi": 263, "rgb": "0xfffafa", "xterm": 15},
    "snow1": {"ansi": 263, "rgb": "0xfffafa", "xterm": 15},
    "snow2": {"ansi": 263, "rgb": "0xeee9e9", "xterm": 255},
    "snow3": {"ansi": 263, "rgb": "0xcdc9c9", "xterm": 251},
    "snow4": {"ansi": 7, "rgb": "0x8b8989", "xterm": 245},
    "springgreen": {"ansi": 258, "rgb": "0x00ff7f", "xterm": 48},
    "springgreen1": {"ansi": 258, "rgb": "0x00ff7f", "xterm": 48},
    "springgreen2": {"ansi": 258, "rgb": "0x00ee76", "xterm": 48},
    "springgreen3": {"ansi": 258, "rgb": "0x00cd66", "xterm": 41},
    "springgreen4": {"ansi": 2, "rgb": "0x008b45", "xterm": 29},
    "steelblue": {"ansi": 6, "rgb": "0x4682b4", "xterm": 67},
    "steelblue1": {"ansi": 262, "rgb": "0x63b8ff", "xterm": 75},
    "steelblue2": {"ansi": 262, "rgb": "0x5cacee", "xterm": 75},
    "steelblue3": {"ansi": 6, "rgb": "0x4f94cd", "xterm": 68},
    "steelblue4": {"ansi": 6, "rgb": "0x36648b", "xterm": 60},
    "tan": {"ansi": 259, "rgb": "0xd2b48c", "xterm": 180},
    "tan1": {"ansi": 259, "rgb": "0xffa54f", "xterm": 215},
    "tan2": {"ansi": 257, "rgb": "0xee9a49", "xterm": 209},
    "tan3": {"ansi": 3, "rgb": "0xcd853f", "xterm": 173},
    "tan4": {"ansi": 2, "rgb": "0x8b5a2b", "xterm": 94},
    "teal": {"ansi": 6, "rgb": "0x008080", "xterm": 6},
    "thistle": {"ansi": 261, "rgb": "0xd8bfd8", "xterm": 182},
    "thistle1": {"ansi": 263, "rgb": "0xffe1ff", "xterm": 225},
    "thistle2": {"ansi": 263, "rgb": "0xeed2ee", "xterm": 254},
    "thistle3": {"ansi": 261, "rgb": "0xcdb5cd", "xterm": 182},
    "thistle4": {"ansi": 2, "rgb": "0x8b7b8b", "xterm": 102},
    "tomato": {"ansi": 257, "rgb": "0xff6347", "xterm": 203},
    "tomato1": {"ansi": 257, "rgb": "0xff6347", "xterm": 203},
    "tomato2": {"ansi": 257, "rgb": "0xee5c42", "xterm": 203},
    "tomato3": {"ansi": 257, "rgb": "0xcd4f39", "xterm": 167},
    "tomato4": {"ansi": 2, "rgb": "0x8b3626", "xterm": 94},
    "turquoise": {"ansi": 262, "rgb": "0x40e0d0", "xterm": 80},
    "turquoise1": {"ansi": 262, "rgb": "0x00f5ff", "xterm": 14},
    "turquoise2": {"ansi": 262, "rgb": "0x00e5ee", "xterm": 45},
    "turquoise3": {"ansi": 262, "rgb": "0x00c5cd", "xterm": 44},
    "turquoise4": {"ansi": 6, "rgb": "0x00868b", "xterm": 30},
    "violet": {"ansi": 261, "rgb": "0xee82ee", "xterm": 213},
    "violetred": {"ansi": 261, "rgb": "0xd02090", "xterm": 162},
    "violetred1": {"ansi": 257, "rgb": "0xff3e96", "xterm": 204},
    "violetred2": {"ansi": 257, "rgb": "0xee3a8c", "xterm": 204},
    "violetred3": {"ansi": 257, "rgb": "0xcd3278", "xterm": 168},
    "violetred4": {"ansi": 1, "rgb": "0x8b2252", "xterm": 89},
    "wheat": {"ansi": 263, "rgb": "0xf5deb3", "xterm": 223},
    "wheat1": {"ansi": 263, "rgb": "0xffe7ba", "xterm": 223},
    "wheat2": {"ansi": 263, "rgb": "0xeed8ae", "xterm": 223},
    "wheat3": {"ansi": 259, "rgb": "0xcdba96", "xterm": 180},
    "wheat4": {"ansi": 2, "rgb": "0x8b7e66", "xterm": 101},
    "white": {"ansi": 263, "rgb": "0xffffff", "xterm": 231},
    "whitesmoke": {"ansi": 263, "rgb": "0xf5f5f5", "xterm": 255},
    "xterm0": {"ansi": 0, "rgb": "0x000000", "xterm": 0},
    "xterm1": {"ansi": 1, "rgb": "0x800000", "xterm": 1},
    "xterm10": {"ansi": 258, "rgb": "0x00ff00", "xterm": 10},
    "xterm100": {"ansi": 2, "rgb": "0x878700", "xterm": 100},
    "xterm101": {"ansi": 2, "rgb": "0x87875f", "xterm": 101},
    "xterm102": {"ansi": 2, "rgb": "0x878787", "xterm": 102},
    "xterm103": {"ansi": 6, "rgb": "0x8787af", "xterm": 103},
    "xterm104": {"ansi": 260, "rgb": "0x8787d7", "xterm": 104},
    "xterm105": {"ansi": 260, "rgb": "0x8787ff", "xterm": 105},
    "xterm106": {"ansi": 2, "rgb": "0x87af00", "xterm": 106},
    "xterm107": {"ansi": 2, "rgb": "0x87af5f", "xterm": 107},
    "xterm108": {"ansi": 2, "rgb": "0x87af87", "xterm": 108},
    "xterm109": {"ansi": 6, "rgb": "0x87afaf", "xterm": 109},
    "xterm11": {"ansi": 259, "rgb": "0xffff00", "xterm": 11},
    "xterm110": {"ansi": 262, "rgb": "0x87afd7", "xterm": 110},
    "xterm111": {"ansi": 262, "rgb": "0x87afff", "xterm": 111},
    "xterm112": {"ansi": 258, "rgb": "0x87d700", "xterm": 112},
    "xterm113": {"ansi": 258, "rgb": "0x87d75f", "xterm": 113},
    "xterm114": {"ansi": 258, "rgb": "0x87d787", "xterm": 114},
    "xterm115": {"ansi": 258, "rgb": "0x87d7af", "xterm": 115},
    "xterm116": {"ansi": 262, "rgb": "0x87d7d7", "xterm": 116},
    "xterm117": {"ansi": 262, "rgb": "0x87d7ff", "xterm": 117},
    "xterm118": {"ansi": 258, "rgb": "0x87ff00", "xterm": 118},
    "xterm119": {"ansi": 258, "rgb": "0x87ff5f", "xterm": 119},
    "xterm12": {"ansi": 260, "rgb": "0x0000ff", "xterm": 12},
    "xterm120": {"ansi": 258, "rgb": "0x87ff87", "xterm": 120},
    "xterm121": {"ansi": 258, "rgb": "0x87ffaf", "xterm": 121},
    "xterm122": {"ansi": 263, "rgb": "0x87ffd7", "xterm": 122},
    "xterm123": {"ansi": 263, "rgb": "0x87ffff", "xterm": 123},
    "xterm124": {"ansi": 1, "rgb": "0xaf0000", "xterm": 124},
    "xterm125": {"ansi": 5, "rgb": "0xaf005f", "xterm": 125},
    "xterm126": {"ansi": 5, "rgb": "0xaf0087", "xterm": 126},
    "xterm127": {"ansi": 261, "rgb": "0xaf00af", "xterm": 127},
    "xterm128": {"ansi": 261, "rgb": "0xaf00d7", "xterm": 128},
    "xterm129": {"ansi": 261, "rgb": "0xaf00ff", "xterm": 129},
    "xterm13": {"ansi": 261, "rgb": "0xff00ff", "xterm": 13},
    "xterm130": {"ansi": 257, "rgb": "0xaf5f00", "xterm": 130},
    "xterm131": {"ansi": 257, "rgb": "0xaf5f5f", "xterm": 131},
    "xterm132": {"ansi": 257, "rgb": "0xaf5f87", "xterm": 132},
    "xterm133": {"ansi": 261, "rgb": "0xaf5faf", "xterm": 133},
    "xterm134": {"ansi": 261, "rgb": "0xaf5fd7", "xterm": 134},
    "xterm135": {"ansi": 261, "rgb": "0xaf5fff", "xterm": 135},
    "xterm136": {"ansi": 3, "rgb": "0xaf8700", "xterm": 136},
    "xterm137": {"ansi": 3, "rgb": "0xaf875f", "xterm": 137},
    "xterm138": {"ansi": 261, "rgb": "0xaf8787", "xterm": 138},
    "xterm139": {"ansi": 261, "rgb": "0xaf87af", "xterm": 139},
    "xterm14": {"ansi": 262, "rgb": "0x00ffff", "xterm": 14},
    "xterm140": {"ansi": 261, "rgb": "0xaf87d7", "xterm": 140},
    "xterm141": {"ansi": 261, "rgb": "0xaf87ff", "xterm": 141},
    "xterm142": {"ansi": 3, "rgb": "0xafaf00", "xterm": 142},
    "xterm143": {"ansi": 3, "rgb": "0xafaf5f", "xterm": 143},
    "xterm144": {"ansi": 3, "rgb": "0xafaf87", "xterm": 144},
    "xterm145": {"ansi": 261, "rgb": "0xafafaf", "xterm": 145},
    "xterm146": {"ansi": 261, "rgb": "0xafafd7", "xterm": 146},
    "xterm147": {"ansi": 261, "rgb": "0xafafff", "xterm": 147},
    "xterm148": {"ansi": 259, "rgb": "0xafd700", "xterm": 148},
    "xterm149": {"ansi": 259, "rgb": "0xafd75f", "xterm": 149},
    "xterm15": {"ansi": 263, "rgb": "0xffffff", "xterm": 15},
    "xterm150": {"ansi": 259, "rgb": "0xafd787", "xterm": 150},
    "xterm151": {"ansi": 263, "rgb": "0xafd7af", "xterm": 151},
    "xterm152": {"ansi": 263, "rgb": "0xafd7d7", "xterm": 152},
    "xterm153": {"ansi": 263, "rgb": "0xafd7ff", "xterm": 153},
    "xterm154": {"ansi": 259, "rgb": "0xafff00", "xterm": 154},
    "xterm155": {"ansi": 259, "rgb": "0xafff5f", "xterm": 155},
    "xterm156": {"ansi": 259, "rgb": "0xafff87", "xterm": 156},
    "xterm157": {"ansi": 259, "rgb": "0xafffaf", "xterm": 157},
    "xterm158": {"ansi": 263, "rgb": "0xafffd7", "xterm": 158},
    "xterm159": {"ansi": 263, "rgb": "0xafffff", "xterm": 159},
    "xterm16": {"ansi": 0, "rgb": "0x000000", "xterm": 16},
    "xterm160": {"ansi": 1, "rgb": "0xd70000", "xterm": 160},
    "xterm161": {"ansi": 257, "rgb": "0xd7005f", "xterm": 161},
    "xterm162": {"ansi": 261, "rgb": "0xd70087", "xterm": 162},
    "xterm163": {"ansi": 261, "rgb": "0xd700af", "xterm": 163},
    "xterm164": {"ansi": 261, "rgb": "0xd700d7", "xterm": 164},
    "xterm165": {"ansi": 261, "rgb": "0xd700ff", "xterm": 165},
    "xterm166": {"ansi": 257, "rgb": "0xd75f00", "xterm": 166},
    "xterm167": {"ansi": 257, "rgb": "0xd75f5f", "xterm": 167},
    "xterm168": {"ansi": 257, "rgb": "0xd75f87", "xterm": 168},
    "xterm169": {"ansi": 261, "rgb": "0xd75faf", "xterm": 169},
    "xterm17": {"ansi": 4, "rgb": "0x00005f", "xterm": 17},
    "xterm170": {"ansi": 261, "rgb": "0xd75fd7", "xterm": 170},
    "xterm171": {"ansi": 261, "rgb": "0xd75fff", "xterm": 171},
    "xterm172": {"ansi": 3, "rgb": "0xd78700", "xterm": 172},
    "xterm173": {"ansi": 3, "rgb": "0xd7875f", "xterm": 173},
    "xterm174": {"ansi": 3, "rgb": "0xd78787", "xterm": 174},
    "xterm175": {"ansi": 261, "rgb": "0xd787af", "xterm": 175},
    "xterm176": {"ansi": 261, "rgb": "0xd787d7", "xterm": 176},
    "xterm177": {"ansi": 261, "rgb": "0xd787ff", "xterm": 177},
    "xterm178": {"ansi": 3, "rgb": "0xd7af00", "xterm": 178},
    "xterm179": {"ansi": 3, "rgb": "0xd7af5f", "xterm": 179},
    "xterm18": {"ansi": 4, "rgb": "0x000087", "xterm": 18},
    "xterm180": {"ansi": 259, "rgb": "0xd7af87", "xterm": 180},
    "xterm181": {"ansi": 261, "rgb": "0xd7afaf", "xterm": 181},
    "xterm182": {"ansi": 261, "rgb": "0xd7afd7", "xterm": 182},
    "xterm183": {"ansi": 261, "rgb": "0xd7afff", "xterm": 183},
    "xterm184": {"ansi": 3, "rgb": "0xd7d700", "xterm": 184},
    "xterm185": {"ansi": 3, "rgb": "0xd7d75f", "xterm": 185},
    "xterm186": {"ansi": 259, "rgb": "0xd7d787", "xterm": 186},
    "xterm187": {"ansi": 263, "rgb": "0xd7d7af", "xterm": 187},
    "xterm188": {"ansi": 263, "rgb": "0xd7d7d7", "xterm": 188},
    "xterm189": {"ansi": 263, "rgb": "0xd7d7ff", "xterm": 189},
    "xterm19": {"ansi": 4, "rgb": "0x0000af", "xterm": 19},
    "xterm190": {"ansi": 259, "rgb": "0xd7ff00", "xterm": 190},
    "xterm191": {"ansi": 259, "rgb": "0xd7ff5f", "xterm": 191},
    "xterm192": {"ansi": 259, "rgb": "0xd7ff87", "xterm": 192},
    "xterm193": {"ansi": 263, "rgb": "0xd7ffaf", "xterm": 193},
    "xterm194": {"ansi": 263, "rgb": "0xd7ffd7", "xterm": 194},
    "xterm195": {"ansi": 263, "rgb": "0xd7ffff", "xterm": 195},
    "xterm196": {"ansi": 257, "rgb": "0xff0000", "xterm": 196},
    "xterm197": {"ansi": 257, "rgb": "0xff005f", "xterm": 197},
    "xterm198": {"ansi": 257, "rgb": "0xff0087", "xterm": 198},
    "xterm199": {"ansi": 261, "rgb": "0xff00af", "xterm": 199},
    "xterm2": {"ansi": 2, "rgb": "0x008000", "xterm": 2},
    "xterm20": {"ansi": 260, "rgb": "0x0000d7", "xterm": 20},
    "xterm200": {"ansi": 261, "rgb": "0xff00d7", "xterm": 200},
    "xterm201": {"ansi": 261, "rgb": "0xff00ff", "xterm": 201},
    "xterm202": {"ansi": 257, "rgb": "0xff5f00", "xterm": 202},
    "xterm203": {"ansi": 257, "rgb": "0xff5f5f", "xterm": 203},
    "xterm204": {"ansi": 257, "rgb": "0xff5f87", "xterm": 204},
    "xterm205": {"ansi": 261, "rgb": "0xff5faf", "xterm": 205},
    "xterm206": {"ansi": 261, "rgb": "0xff5fd7", "xterm": 206},
    "xterm207": {"ansi": 261, "rgb": "0xff5fff", "xterm": 207},
    "xterm208": {"ansi": 257, "rgb": "0xff8700", "xterm": 208},
    "xterm209": {"ansi": 257, "rgb": "0xff875f", "xterm": 209},
    "xterm21": {"ansi": 260, "rgb": "0x0000ff", "xterm": 21},
    "xterm210": {"ansi": 261, "rgb": "0xff8787", "xterm": 210},
    "xterm211": {"ansi": 261, "rgb": "0xff87af", "xterm": 211},
    "xterm212": {"ansi": 261, "rgb": "0xff87d7", "xterm": 212},
    "xterm213": {"ansi": 261, "rgb": "0xff87ff", "xterm": 213},
    "xterm214": {"ansi": 259, "rgb": "0xffaf00", "xterm": 214},
    "xterm215": {"ansi": 259, "rgb": "0xffaf5f", "xterm": 215},
    "xterm216": {"ansi": 263, "rgb": "0xffaf87", "xterm": 216},
    "xterm217": {"ansi": 263, "rgb": "0xffafaf", "xterm": 217},
    "xterm218": {"ansi": 263, "rgb": "0xffafd7", "xterm": 218},
    "xterm219": {"ansi": 263, "rgb": "0xffafff", "xterm": 219},
    "xterm22": {"ansi": 2, "rgb": "0x005f00", "xterm": 22},
    "xterm220": {"ansi": 259, "rgb": "0xffd700", "xterm": 220},
    "xterm221": {"ansi": 259, "rgb": "0xffd75f", "xterm": 221},
    "xterm222": {"ansi": 259, "rgb": "0xffd787", "xterm": 222},
    "xterm223": {"ansi": 263, "rgb": "0xffd7af", "xterm": 223},
    "xterm224": {"ansi": 263, "rgb": "0xffd7d7", "xterm": 224},
    "xterm225": {"ansi": 263, "rgb": "0xffd7ff", "xterm": 225},
    "xterm226": {"ansi": 259, "rgb": "0xffff00", "xterm": 226},
    "xterm227": {"ansi": 259, "rgb": "0xffff5f", "xterm": 227},
    "xterm228": {"ansi": 259, "rgb": "0xffff87", "xterm": 228},
    "xterm229": {"ansi": 259, "rgb": "0xffffaf", "xterm": 229},
    "xterm23": {"ansi": 6, "rgb": "0x005f5f", "xterm": 23},
    "xterm230": {"ansi": 263, "rgb": "0xffffd7", "xterm": 230},
    "xterm231": {"ansi": 263, "rgb": "0xffffff", "xterm": 231},
    "xterm232": {"ansi": 0, "rgb": "0x080808", "xterm": 232},
    "xterm233": {"ansi": 0, "rgb": "0x121212", "xterm": 233},
    "xterm234": {"ansi": 256, "rgb": "0x1c1c1c", "xterm": 234},
    "xterm235": {"ansi": 256, "rgb": "0x262626", "xterm": 235},
    "xterm236": {"ansi": 256, "rgb": "0x303030", "xterm": 236},
    "xterm237": {"ansi": 256, "rgb": "0x3a3a3a", "xterm": 237},
    "xterm238": {"ansi": 256, "rgb": "0x444444", "xterm": 238},
    "xterm239": {"ansi": 256, "rgb": "0x4e4e4e", "xterm": 239},
    "xterm24": {"ansi": 4, "rgb": "0x005f87", "xterm": 24},
    "xterm240": {"ansi": 256, "rgb": "0x585858", "xterm": 240},
    "xterm241": {"ansi": 7, "rgb": "0x626262", "xterm": 241},
    "xterm242": {"ansi": 7, "rgb": "0x6c6c6c", "xterm": 242},
    "xterm243": {"ansi": 7, "rgb": "0x767676", "xterm": 243},
    "xterm244": {"ansi": 7, "rgb": "0x808080", "xterm": 244},
    "xterm245": {"ansi": 7, "rgb": "0x8a8a8a", "xterm": 245},
    "xterm246": {"ansi": 7, "rgb": "0x949494", "xterm": 246},
    "xterm247": {"ansi": 7, "rgb": "0x9e9e9e", "xterm": 247},
    "xterm248": {"ansi": 263, "rgb": "0xa8a8a8", "xterm": 248},
    "xterm249": {"ansi": 263, "rgb": "0xb2b2b2", "xterm": 249},
    "xterm25": {"ansi": 260, "rgb": "0x005faf", "xterm": 25},
    "xterm250": {"ansi": 263, "rgb": "0xbcbcbc", "xterm": 250},
    "xterm251": {"ansi": 263, "rgb": "0xc6c6c6", "xterm": 251},
    "xterm252": {"ansi": 263, "rgb": "0xd0d0d0", "xterm": 252},
    "xterm253": {"ansi": 263, "rgb": "0xdadada", "xterm": 253},
    "xterm254": {"ansi": 263, "rgb": "0xe4e4e4", "xterm": 254},
    "xterm255": {"ansi": 263, "rgb": "0xeeeeee", "xterm": 255},
    "xterm26": {"ansi": 260, "rgb": "0x005fd7", "xterm": 26},
    "xterm27": {"ansi": 260, "rgb": "0x005fff", "xterm": 27},
    "xterm28": {"ansi": 258, "rgb": "0x008700", "xterm": 28},
    "xterm29": {"ansi": 2, "rgb": "0x00875f", "xterm": 29},
    "xterm3": {"ansi": 3, "rgb": "0x808000", "xterm": 3},
    "xterm30": {"ansi": 6, "rgb": "0x008787", "xterm": 30},
    "xterm31": {"ansi": 260, "rgb": "0x0087af", "xterm": 31},
    "xterm32": {"ansi": 260, "rgb": "0x0087d7", "xterm": 32},
    "xterm33": {"ansi": 260, "rgb": "0x0087ff", "xterm": 33},
    "xterm34": {"ansi": 258, "rgb": "0x00af00", "xterm": 34},
    "xterm35": {"ansi": 258, "rgb": "0x00af5f", "xterm": 35},
    "xterm36": {"ansi": 262, "rgb": "0x00af87", "xterm": 36},
    "xterm37": {"ansi": 262, "rgb": "0x00afaf", "xterm": 37},
    "xterm38": {"ansi": 260, "rgb": "0x00afd7", "xterm": 38},
    "xterm39": {"ansi": 260, "rgb": "0x00afff", "xterm": 39},
    "xterm4": {"ansi": 4, "rgb": "0x000080", "xterm": 4},
    "xterm40": {"ansi": 258, "rgb": "0x00d700", "xterm": 40},
    "xterm41": {"ansi": 258, "rgb": "0x00d75f", "xterm": 41},
    "xterm42": {"ansi": 258, "rgb": "0x00d787", "xterm": 42},
    "xterm43": {"ansi": 262, "rgb": "0x00d7af", "xterm": 43},
    "xterm44": {"ansi": 262, "rgb": "0x00d7d7", "xterm": 44},
    "xterm45": {"ansi": 262, "rgb": "0x00d7ff", "xterm": 45},
    "xterm46": {"ansi": 258, "rgb": "0x00ff00", "xterm": 46},
    "xterm47": {"ansi": 258, "rgb": "0x00ff5f", "xterm": 47},
    "xterm48": {"ansi": 258, "rgb": "0x00ff87", "xterm": 48},
    "xterm49": {"ansi": 262, "rgb": "0x00ffaf", "xterm": 49},
    "xterm5": {"ansi": 5, "rgb": "0x800080", "xterm": 5},
    "xterm50": {"ansi": 262, "rgb": "0x00ffd7", "xterm": 50},
    "xterm51": {"ansi": 262, "rgb": "0x00ffff", "xterm": 51},
    "xterm52": {"ansi": 1, "rgb": "0x5f0000", "xterm": 52},
    "xterm53": {"ansi": 5, "rgb": "0x5f005f", "xterm": 53},
    "xterm54": {"ansi": 5, "rgb": "0x5f0087", "xterm": 54},
    "xterm55": {"ansi": 260, "rgb": "0x5f00af", "xterm": 55},
    "xterm56": {"ansi": 260, "rgb": "0x5f00d7", "xterm": 56},
    "xterm57": {"ansi": 260, "rgb": "0x5f00ff", "xterm": 57},
    "xterm58": {"ansi": 2, "rgb": "0x5f5f00", "xterm": 58},
    "xterm59": {"ansi": 2, "rgb": "0x5f5f5f", "xterm": 59},
    "xterm6": {"ansi": 6, "rgb": "0x008080", "xterm": 6},
    "xterm60": {"ansi": 6, "rgb": "0x5f5f87", "xterm": 60},
    "xterm61": {"ansi": 260, "rgb": "0x5f5faf", "xterm": 61},
    "xterm62": {"ansi": 260, "rgb": "0x5f5fd7", "xterm": 62},
    "xterm63": {"ansi": 260, "rgb": "0x5f5fff", "xterm": 63},
    "xterm64": {"ansi": 2, "rgb": "0x5f8700", "xterm": 64},
    "xterm65": {"ansi": 2, "rgb": "0x5f875f", "xterm": 65},
    "xterm66": {"ansi": 2, "rgb": "0x5f8787", "xterm": 66},
    "xterm67": {"ansi": 6, "rgb": "0x5f87af", "xterm": 67},
    "xterm68": {"ansi": 6, "rgb": "0x5f87d7", "xterm": 68},
    "xterm69": {"ansi": 260, "rgb": "0x5f87ff", "xterm": 69},
    "xterm7": {"ansi": 7, "rgb": "0xc0c0c0", "xterm": 7},
    "xterm70": {"ansi": 258, "rgb": "0x5faf00", "xterm": 70},
    "xterm71": {"ansi": 2, "rgb": "0x5faf5f", "xterm": 71},
    "xterm72": {"ansi": 2, "rgb": "0x5faf87", "xterm": 72},
    "xterm73": {"ansi": 6, "rgb": "0x5fafaf", "xterm": 73},
    "xterm74": {"ansi": 262, "rgb": "0x5fafd7", "xterm": 74},
    "xterm75": {"ansi": 262, "rgb": "0x5fafff", "xterm": 75},
    "xterm76": {"ansi": 258, "rgb": "0x5fd700", "xterm": 76},
    "xterm77": {"ansi": 258, "rgb": "0x5fd75f", "xterm": 77},
    "xterm78": {"ansi": 258, "rgb": "0x5fd787", "xterm": 78},
    "xterm79": {"ansi": 262, "rgb": "0x5fd7af", "xterm": 79},
    "xterm8": {"ansi": 256, "rgb": "0x808080", "xterm": 8},
    "xterm80": {"ansi": 262, "rgb": "0x5fd7d7", "xterm": 80},
    "xterm81": {"ansi": 262, "rgb": "0x5fd7ff", "xterm": 81},
    "xterm82": {"ansi": 258, "rgb": "0x5fff00", "xterm": 82},
    "xterm83": {"ansi": 258, "rgb": "0x5fff5f", "xterm": 83},
    "xterm84": {"ansi": 258, "rgb": "0x5fff87", "xterm": 84},
    "xterm85": {"ansi": 258, "rgb": "0x5fffaf", "xterm": 85},
    "xterm86": {"ansi": 262, "rgb": "0x5fffd7", "xterm": 86},
    "xterm87": {"ansi": 262, "rgb": "0x5fffff", "xterm": 87},
    "xterm88": {"ansi": 1, "rgb": "0x870000", "xterm": 88},
    "xterm89": {"ansi": 1, "rgb": "0x87005f", "xterm": 89},
    "xterm9": {"ansi": 257, "rgb": "0xff0000", "xterm": 9},
    "xterm90": {"ansi": 5, "rgb": "0x870087", "xterm": 90},
    "xterm91": {"ansi": 5, "rgb": "0x8700af", "xterm": 91},
    "xterm92": {"ansi": 261, "rgb": "0x8700d7", "xterm": 92},
    "xterm93": {"ansi": 261, "rgb": "0x8700ff", "xterm": 93},
    "xterm94": {"ansi": 2, "rgb": "0x875f00", "xterm": 94},
    "xterm95": {"ansi": 1, "rgb": "0x875f5f", "xterm": 95},
    "xterm96": {"ansi": 5, "rgb": "0x875f87", "xterm": 96},
    "xterm97": {"ansi": 5, "rgb": "0x875faf", "xterm": 97},
    "xterm98": {"ansi": 261, "rgb": "0x875fd7", "xterm": 98},
    "xterm99": {"ansi": 261, "rgb": "0x875fff", "xterm": 99},
    "yellow": {"ansi": 259, "rgb": "0xffff00", "xterm": 226},
    "yellow1": {"ansi": 259, "rgb": "0xffff00", "xterm": 226},
    "yellow2": {"ansi": 259, "rgb": "0xeeee00", "xterm": 11},
    "yellow3": {"ansi": 3, "rgb": "0xcdcd00", "xterm": 184},
    "yellow4": {"ansi": 2, "rgb": "0x8b8b00", "xterm": 100},
    "yellowgreen": {"ansi": 258, "rgb": "0x9acd32", "xterm": 113},
}


FG_DOWNGRADE = {
    0: (False, 30),
    1: (False, 31),
    2: (False, 32),
    3: (False, 33),
    4: (False, 34),
    5: (False, 35),
    6: (False, 36),
    7: (False, 37),
    8: (True, 30),
    9: (True, 31),
    10: (True, 32),
    11: (True, 33),
    12: (True, 34),
    13: (True, 35),
    14: (True, 36),
    15: (True, 37),
    16: (False, 30),
    17: (False, 34),
    18: (False, 34),
    19: (False, 34),
    20: (True, 34),
    21: (True, 34),
    22: (False, 32),
    23: (False, 36),
    24: (False, 34),
    25: (True, 34),
    26: (True, 34),
    27: (True, 34),
    28: (True, 32),
    29: (False, 32),
    30: (False, 36),
    31: (True, 34),
    32: (True, 34),
    33: (True, 34),
    34: (True, 32),
    35: (True, 32),
    36: (True, 36),
    37: (True, 36),
    38: (True, 34),
    39: (True, 34),
    40: (True, 32),
    41: (True, 32),
    42: (True, 32),
    43: (True, 36),
    44: (True, 36),
    45: (True, 36),
    46: (True, 32),
    47: (True, 32),
    48: (True, 32),
    49: (True, 36),
    50: (True, 36),
    51: (True, 36),
    52: (False, 31),
    53: (False, 35),
    54: (False, 35),
    55: (True, 35),
    56: (True, 34),
    57: (True, 34),
    58: (False, 32),
    59: (False, 32),
    60: (False, 36),
    61: (True, 34),
    62: (True, 34),
    63: (True, 34),
    64: (False, 32),
    65: (False, 32),
    66: (False, 32),
    67: (False, 36),
    68: (False, 36),
    69: (True, 34),
    70: (True, 32),
    71: (False, 32),
    72: (False, 32),
    73: (False, 36),
    74: (True, 36),
    75: (True, 36),
    76: (True, 32),
    77: (True, 32),
    78: (True, 32),
    79: (True, 36),
    80: (True, 36),
    81: (True, 36),
    82: (True, 32),
    83: (True, 32),
    84: (True, 32),
    85: (True, 32),
    86: (True, 36),
    87: (True, 36),
    88: (False, 31),
    89: (False, 31),
    90: (False, 35),
    91: (False, 35),
    92: (True, 35),
    93: (True, 35),
    94: (False, 31),
    95: (False, 31),
    96: (False, 35),
    97: (False, 35),
    98: (True, 35),
    99: (True, 35),
    100: (False, 33),
    101: (False, 33),
    102: (False, 32),
    103: (False, 36),
    104: (True, 34),
    105: (True, 34),
    106: (False, 32),
    107: (False, 32),
    108: (False, 32),
    109: (False, 36),
    110: (True, 36),
    111: (True, 36),
    112: (True, 32),
    113: (True, 32),
    114: (True, 32),
    115: (True, 32),
    116: (True, 36),
    117: (True, 36),
    118: (True, 32),
    119: (True, 32),
    120: (True, 32),
    121: (True, 32),
    122: (True, 37),
    123: (True, 37),
    124: (False, 31),
    125: (False, 35),
    126: (False, 35),
    127: (True, 35),
    128: (True, 35),
    129: (True, 35),
    130: (True, 31),
    131: (True, 31),
    132: (True, 31),
    133: (True, 35),
    134: (True, 35),
    135: (True, 35),
    136: (False, 33),
    137: (False, 33),
    138: (True, 35),
    139: (True, 35),
    140: (True, 35),
    141: (True, 35),
    142: (False, 33),
    143: (False, 33),
    144: (False, 33),
    145: (True, 35),
    146: (True, 35),
    147: (True, 35),
    148: (True, 33),
    149: (True, 33),
    150: (True, 33),
    151: (True, 37),
    152: (True, 37),
    153: (True, 37),
    154: (True, 33),
    155: (True, 33),
    156: (True, 33),
    157: (True, 33),
    158: (True, 37),
    159: (True, 37),
    160: (False, 31),
    161: (True, 31),
    162: (True, 35),
    163: (True, 35),
    164: (True, 35),
    165: (True, 35),
    166: (True, 31),
    167: (True, 31),
    168: (True, 31),
    169: (True, 35),
    170: (True, 35),
    171: (True, 35),
    172: (False, 33),
    173: (False, 33),
    174: (False, 33),
    175: (True, 35),
    176: (True, 35),
    177: (True, 35),
    178: (False, 33),
    179: (False, 33),
    180: (True, 33),
    181: (True, 35),
    182: (True, 35),
    183: (True, 35),
    184: (False, 33),
    185: (False, 33),
    186: (True, 33),
    187: (True, 37),
    188: (True, 37),
    189: (True, 37),
    190: (True, 33),
    191: (True, 33),
    192: (True, 33),
    193: (True, 37),
    194: (True, 37),
    195: (True, 37),
    196: (True, 31),
    197: (True, 31),
    198: (True, 31),
    199: (True, 35),
    200: (True, 35),
    201: (True, 35),
    202: (True, 31),
    203: (True, 31),
    204: (True, 31),
    205: (True, 35),
    206: (True, 35),
    207: (True, 35),
    208: (True, 31),
    209: (True, 31),
    210: (True, 35),
    211: (True, 35),
    212: (True, 35),
    213: (True, 35),
    214: (True, 33),
    215: (True, 33),
    216: (True, 37),
    217: (True, 37),
    218: (True, 37),
    219: (True, 37),
    220: (True, 33),
    221: (True, 33),
    222: (True, 33),
    223: (True, 37),
    224: (True, 37),
    225: (True, 37),
    226: (True, 33),
    227: (True, 33),
    228: (True, 33),
    229: (True, 33),
    230: (True, 37),
    231: (True, 37),
    232: (False, 30),
    233: (False, 30),
    234: (True, 30),
    235: (True, 30),
    236: (True, 30),
    237: (True, 30),
    238: (True, 30),
    239: (True, 30),
    240: (True, 30),
    241: (False, 37),
    242: (False, 37),
    243: (False, 37),
    244: (False, 37),
    245: (False, 37),
    246: (False, 37),
    247: (False, 37),
    248: (True, 37),
    249: (True, 37),
    250: (True, 37),
    251: (True, 37),
    252: (True, 37),
    253: (True, 37),
    254: (True, 37),
    255: (True, 37),
}

BG_DOWNGRADE = {
    0: (False, 30),
    1: (False, 31),
    2: (False, 32),
    3: (False, 33),
    4: (False, 34),
    5: (False, 35),
    6: (False, 36),
    7: (False, 37),
    8: (False, 30),
    9: (False, 31),
    10: (False, 32),
    11: (False, 33),
    12: (False, 34),
    13: (False, 35),
    14: (False, 36),
    15: (False, 37),
    16: (False, 30),
    17: (False, 34),
    18: (False, 34),
    19: (False, 34),
    20: (False, 34),
    21: (False, 34),
    22: (False, 32),
    23: (False, 36),
    24: (False, 34),
    25: (False, 34),
    26: (False, 34),
    27: (False, 34),
    28: (False, 32),
    29: (False, 32),
    30: (False, 36),
    31: (False, 34),
    32: (False, 34),
    33: (False, 34),
    34: (False, 32),
    35: (False, 32),
    36: (False, 36),
    37: (False, 36),
    38: (False, 34),
    39: (False, 34),
    40: (False, 32),
    41: (False, 32),
    42: (False, 32),
    43: (False, 36),
    44: (False, 36),
    45: (False, 36),
    46: (False, 32),
    47: (False, 32),
    48: (False, 32),
    49: (False, 36),
    50: (False, 36),
    51: (False, 36),
    52: (False, 31),
    53: (False, 35),
    54: (False, 35),
    55: (False, 35),
    56: (False, 34),
    57: (False, 34),
    58: (False, 32),
    59: (False, 32),
    60: (False, 36),
    61: (False, 34),
    62: (False, 34),
    63: (False, 34),
    64: (False, 32),
    65: (False, 32),
    66: (False, 32),
    67: (False, 36),
    68: (False, 36),
    69: (False, 34),
    70: (False, 32),
    71: (False, 32),
    72: (False, 32),
    73: (False, 36),
    74: (False, 36),
    75: (False, 36),
    76: (False, 32),
    77: (False, 32),
    78: (False, 32),
    79: (False, 36),
    80: (False, 36),
    81: (False, 36),
    82: (False, 32),
    83: (False, 32),
    84: (False, 32),
    85: (False, 32),
    86: (False, 36),
    87: (False, 36),
    88: (False, 31),
    89: (False, 31),
    90: (False, 35),
    91: (False, 35),
    92: (False, 35),
    93: (False, 35),
    94: (False, 31),
    95: (False, 31),
    96: (False, 35),
    97: (False, 35),
    98: (False, 35),
    99: (False, 35),
    100: (False, 33),
    101: (False, 33),
    102: (False, 32),
    103: (False, 36),
    104: (False, 34),
    105: (False, 34),
    106: (False, 32),
    107: (False, 32),
    108: (False, 32),
    109: (False, 36),
    110: (False, 36),
    111: (False, 36),
    112: (False, 32),
    113: (False, 32),
    114: (False, 32),
    115: (False, 32),
    116: (False, 36),
    117: (False, 36),
    118: (False, 32),
    119: (False, 32),
    120: (False, 32),
    121: (False, 32),
    122: (False, 37),
    123: (False, 37),
    124: (False, 31),
    125: (False, 35),
    126: (False, 35),
    127: (False, 35),
    128: (False, 35),
    129: (False, 35),
    130: (False, 31),
    131: (False, 31),
    132: (False, 31),
    133: (False, 35),
    134: (False, 35),
    135: (False, 35),
    136: (False, 33),
    137: (False, 33),
    138: (False, 35),
    139: (False, 35),
    140: (False, 35),
    141: (False, 35),
    142: (False, 33),
    143: (False, 33),
    144: (False, 33),
    145: (False, 35),
    146: (False, 35),
    147: (False, 35),
    148: (False, 33),
    149: (False, 33),
    150: (False, 33),
    151: (False, 37),
    152: (False, 37),
    153: (False, 37),
    154: (False, 33),
    155: (False, 33),
    156: (False, 33),
    157: (False, 33),
    158: (False, 37),
    159: (False, 37),
    160: (False, 31),
    161: (False, 31),
    162: (False, 35),
    163: (False, 35),
    164: (False, 35),
    165: (False, 35),
    166: (False, 31),
    167: (False, 31),
    168: (False, 31),
    169: (False, 35),
    170: (False, 35),
    171: (False, 35),
    172: (False, 33),
    173: (False, 33),
    174: (False, 33),
    175: (False, 35),
    176: (False, 35),
    177: (False, 35),
    178: (False, 33),
    179: (False, 33),
    180: (False, 33),
    181: (False, 35),
    182: (False, 35),
    183: (False, 35),
    184: (False, 33),
    185: (False, 33),
    186: (False, 33),
    187: (False, 37),
    188: (False, 37),
    189: (False, 37),
    190: (False, 33),
    191: (False, 33),
    192: (False, 33),
    193: (False, 37),
    194: (False, 37),
    195: (False, 37),
    196: (False, 31),
    197: (False, 31),
    198: (False, 31),
    199: (False, 35),
    200: (False, 35),
    201: (False, 35),
    202: (False, 31),
    203: (False, 31),
    204: (False, 31),
    205: (False, 35),
    206: (False, 35),
    207: (False, 35),
    208: (False, 31),
    209: (False, 31),
    210: (False, 35),
    211: (False, 35),
    212: (False, 35),
    213: (False, 35),
    214: (False, 33),
    215: (False, 33),
    216: (False, 37),
    217: (False, 37),
    218: (False, 37),
    219: (False, 37),
    220: (False, 33),
    221: (False, 33),
    222: (False, 33),
    223: (False, 37),
    224: (False, 37),
    225: (False, 37),
    226: (False, 33),
    227: (False, 33),
    228: (False, 33),
    229: (False, 33),
    230: (False, 37),
    231: (False, 37),
    232: (False, 30),
    233: (False, 30),
    234: (False, 30),
    235: (False, 30),
    236: (False, 30),
    237: (False, 30),
    238: (False, 30),
    239: (False, 30),
    240: (False, 30),
    241: (False, 37),
    242: (False, 37),
    243: (False, 37),
    244: (False, 37),
    245: (False, 37),
    246: (False, 37),
    247: (False, 37),
    248: (False, 37),
    249: (False, 37),
    250: (False, 37),
    251: (False, 37),
    252: (False, 37),
    253: (False, 37),
    254: (False, 37),
    255: (False, 37),
}
