Module:Char col/data

-- the logic: build a lookup table of names to colour values -- reminder: the value coming in has been lowercased and had spaces removed

-- start with the "base" values

local col_table = {

["abel"] = ' be more specific than "abel" ', ["bana"] = ' be more specific than "bana" ', -- maybe not strictly necessary, but ["hammer"] = ' be more specific than "hammer" ', ["jin"] = ' be more specific than "jin" ', ["vandham"] = ' be more specific than "vandham" ',

-- XG ["bart"] = "255,191,47", ["billy"] = "79,127,191", ["chu-chu"] = "255,175,191", ["citan"] = "111,175,79", ["elly"] = "239,143,63", ["emeralda"] = "143,239,159", ["fei"] = "159,79,31", ["maria"] = "191,191,159", ["rico"] = "127,143,79",

-- XS ["abel-xs"] = "159,79,31", ["aizen"] = "127,127,95", ["albedo"] = "255,255,255", ["allen"] = "0,191,47", ["canaan"] = "239,127,31", ["chaos"] = "239,207,31", ["cherenkov"] = "0,79,239", ["citrine"] = "255,143,47", ["dmitri"] = "95,31,31", ["doctus"] = "95,47,95", ["febronia"] = "255,191,47", ["gaignun"] = "63,79,95", ["hammer-xs"] = "191,191,239", ["helmer"] = "127,63,159", ["hermann"] = "79,143,47", ["jin-xs"] = "111,143,111", ["joachim"] = "191,191,191", ["jr."] = "207,63,63", ["juli"] = "143,63,47", ["kevin"] = "0,95,191", ["kevin-t"] = "175,15,15", ["kos-mos"] = "111,143,255", ["lapis"] = "79,47,0", ["mai"] = "191,191,159", ["margulis"] = "175,111,159", ["mary"] = "239,239,0", ["matthews"] = "223,47,47", ["miyuki"] = "127,95,95", ["momo"] = "239,111,143", ["nephilim"] = "239,143,63", ["orgulla"] = "239,239,223", ["pellegri"] = "223,223,175", ["professor"] = "47,127,47", ["richard"] = "255,239,127", ["sakura"] = "111,175,0", ["scott"] = "127,191,223", ["sellers"] = "143,31,31", ["sergius"] = "223,175,255", ["shelley"] = "127,79,239", ["shion"] = "63,63,175", ["suou"] = "79,79,79", ["t-elos"] = "159,63,159", ["togashi"] = "31,159,47", ["tony"] = "239,191,47", ["u-do"] = "223,47,79", ["vanderkam"] = "127,0,95", ["virgil"] = "0,207,191", ["virgil-t"] = "15,15,175", ["voyager"] = "15,15,15", ["wilhelm"] = "239,223,191", ["ziggy"] = "127,127,159",

-- XC1/XC1DE/FC ["alvis"] = "79,111,159", ["alvismemory"] = "0,239,111", ["arglas"] = "95,79,127", ["dickson"] = "143,143,191", ["discipledickson"] = "175,159,111", ["dunban"] = "127,111,111", ["dunga"] = "191,127,143", ["egil"] = "207,111,47", ["facenemesis"] = "175,175,175", ["fiora"] = "223,191,63", ["gadolt"] = "95,159,63", ["gael'gar"] = "223,47,223", ["galea"] = "223,143,143", ["helmaline"] = "159,239,63", ["jadeface"] = "63,127,95", ["juju"] = "191,111,63", ["kallian"] = "31,79,143", ["kino"] = "143,239,127", ["klaus"] = "143,175,191", ["linada"] = "63,95,175", ["lorithia"] = "191,63,95", ["maxis"] = "47,47,63", ["melia"] = "191,0,191", ["metalface"] = "31,31,31", ["meyneth"] = "143,143,239", ["miqol"] = "191,127,47", ["mumkhar"] = "31,31,79", ["nene"] = "239,175,191", ["oka"] = "255,143,127", ["otharon"] = "207,207,79", ["radzam"] = "31,223,239", ["reyn"] = "191,127,0", ["riki"] = "239,175,63", ["sharla"] = "95,127,159", ["shulk"] = "255,0,63", ["sorean"] = "95,159,191", ["teelan"] = "31,143,111", ["tyrea"] = "79,31,15", ["vanea"] = "207,127,47", ["vangarre"] = "223,111,111", ["xord"] = "79,63,47", ["yaldabaoth"] = "191,159,79", ["yumea"] = "175,143,175", ["zanza"] = "239,239,63",

-- XCX ["alexa"] = "143,63,63", ["bozé"] = "175,95,63", ["celica"] = "239,159,63", ["cross"] = "127,127,127", ["doug"] = "159,159,239", ["elma"] = "223,47,31", ["frye"] = "223,223,191", ["gwin"] = "95,111,63", ["h.b."] = "63,63,79", ["hope"] = "255,239,175", ["irina"] = "127,79,159", ["l"] = "159,207,223", ["lao"] = "63,79,111", ["lin"] = "207,207,239", ["mia"] = "47,239,79", ["murderess"] = "175,159,127", ["nagi"] = "207,31,47", ["phog"] = "239,239,207", ["tatsu"] = "63,175,95", ["yelv"] = "127,95,79",

-- XC2/TTGC ["addam"] = "223,223,223", ["adenine"] = "175,239,207", ["aegaeon"] = "127,191,239", ["agate"] = "255,127,159", ["akhos"] = "47,63,175", ["architect"] = "255,239,223", ["azami"] = "95,95,191", ["azurda"] = "239,207,239", ["bana-xc2"] = "47,159,127", ["boreas"] = "143,159,159", ["brighid"] = "143,111,223", ["corvin"] = "31,127,63", ["cressidus"] = "175,175,207", ["crossette"] = "207,111,95", ["dagas"] = "0,31,127", ["dahlia"] = "191,239,255", ["dromarch"] = "239,223,191", ["dughall"] = "159,79,95", ["electra"] = "255,239,159", ["finch"] = "143,207,143", ["floren"] = "79,207,159", -- galea (in XC1 section) ["godfrey"] = "111,191,207", ["gorg"] = "255,127,239", ["haze"] = "143,47,63", ["herald"] = "191,191,159", ["hugo"] = "63,63,159", ["jin-xc2"] = "191,207,207", ["kasandra"] = "79,63,63", -- klaus (in XC1 section) ["kora"] = "191,47,127", ["lora"] = "143,95,79", ["malos"] = "63,15,79", ["mikhail"] = "175,63,79", ["minoth"] = "111,79,63", ["mòrag"] = "63,63,79", ["mythra"] = "223,223,143", ["nia"] = "255,223,79", ["nia-blade"] = "207,191,175", ["newt"] = "255,207,127", ["nim"] = "63,223,207", ["obrona"] = "255,207,63", ["pandoria"] = "127,95,143", ["patroka"] = "207,207,207", ["perceval"] = "223,95,79", ["perdido"] = "159,31,31", ["perun"] = "175,239,239", ["pneuma"] = "0,239,111", ["poppi"] = "159,159,239", ["poppibuster"] = "239,191,111", ["praxis"] = "111,159,239", ["pyra"] = "223,95,111", ["rex"] = "79,127,191", ["roc"] = "223,127,63", ["sever"] = "31,31,63", ["sheba"] = "47,111,223", ["theory"] = "47,175,239", ["titanazurda"] = "159,159,175", ["tora"] = "223,175,111", ["ursula"] = "143,239,239", ["vale"] = "255,79,127", ["vandham-xc2"] = "95,143,95", ["vess"] = "255,255,239", ["wulfric"] = "31,31,31", ["zeke"] = "111,79,111", ["zenobia"] = "143,255,175",

-- XC3/FR ["a"] = "127,143,191", ["alexandria"] = "159,223,223", ["ashera"] = "111,63,127", ["bolearis"] = "159,159,143", ["c"] = "159,191,223", ["cammuravi"] = "239,223,175", ["crys"] = "223,207,79", ["d"] = "191,47,79", ["dj"] = "143,63,79", ["ethel"] = "223,223,239", ["eunie"] = "111,207,0", ["fiona"] = "159,111,175", ["ghondor"] = "207,95,79", ["glimmer"] = "207,127,127", ["gray"] = "95,95,95", ["guernica"] = "111,143,111", ["ino"] = "191,0,0", ["isurd"] = "207,191,127", ["j"] = "175,127,47", ["joran"] = "111,175,79", ["juniper"] = "127,159,127", ["lanz"] = "95,143,159", ["m"] = "159,159,175", ["manana"] = "207,159,111", ["masha"] = "239,255,31", ["matthew"] = "207,143,79", ["melia-xc3"] = "111,127,191", ["mio"] = "207,207,223", ["miyabi"] = "191,223,159", ["monica"] = "95,79,63", ["mwamba"] = "111,111,127", ["n"] = "223,175,47", ["na'el"] = "79,159,79", ["nia-xc3"] = "255,223,127", ["nikol"] = "239,239,127", ["nimue"] = "175,159,191", ["noah"] = "207,79,95", ["noah-ouroboros"] = "63,47,191", ["rex-xc3"] = "15,111,255", ["riku"] = "159,207,207", ["s"] = "31,207,111", ["segiri"] = "175,111,47", ["sena"] = "95,111,175", ["shania"] = "159,143,111", ["shulk-xc3"] = "175,63,79", ["taion"] = "239,127,47", ["teach"] = "111,111,191", ["triton"] = "191,63,95", ["valdi"] = "175,159,127", ["x"] = "191,159,223", ["y"] = "159,79,191", ["z"] = "143,47,207", ["zeon"] = "63,63,63", } -- end of col_table

-- now, add aliases

col_table["abel-xg"] = col_table["fei"] col_table["chuchu"] = col_table["chu-chu"] col_table["kim"] = col_table["fei"] col_table["lacan"] = col_table["fei"] col_table["sophia"] = col_table["elly"]

col_table["blacktestament"] = col_table["voyager"] col_table["bluetestament"] = col_table["virgil-t"] col_table["erich"] = col_table["voyager"] col_table["heinlein"] = col_table["wilhelm"] col_table["jr"] = col_table["jr."] col_table["kosmos"] = col_table["kos-mos"] col_table["nigredo"] = col_table["gaignun"] col_table["redtestament"] = col_table["kevin-t"] col_table["roth"] = col_table["kevin-t"] col_table["rubedo"] = col_table["jr."] col_table["telos"] = col_table["t-elos"] col_table["udo"] = col_table["u-do"] col_table["whitetestament"] = col_table["albedo"]

col_table["bronzeface"] = col_table["xord"] col_table["goldface"] = col_table["yaldabaoth"] col_table["mecha-fiora"] = col_table["fiora"] col_table["mechafiora"] = col_table["fiora"] col_table["melia-xc1"] = col_table["melia"] col_table["mfiora"] = col_table["fiora"] col_table["silverface"] = col_table["facenemesis"] col_table["vandham-xc1"] = col_table["vangarre"]

col_table["xc1-pc-1"] = col_table["shulk"] col_table["xc1-pc-2"] = col_table["reyn"] col_table["xc1-pc-3"] = col_table["fiora"] col_table["xc1-pc-4"] = col_table["dunban"] col_table["xc1-pc-5"] = col_table["sharla"] col_table["xc1-pc-6"] = col_table["riki"] col_table["xc1-pc-7"] = col_table["melia"] col_table["xc1-pc-8"] = col_table["fiora"] col_table["xc1-pc-9"] = col_table["dickson"] col_table["xc1-pc-10"] = col_table["mumkhar"] col_table["xc1-pc-11"] = col_table["alvis"] col_table["xc1-pc-14"] = col_table["kino"] col_table["xc1-pc-15"] = col_table["nene"]

col_table["boze"] = col_table["bozé"] col_table["hb"] = col_table["h.b."] col_table["lcirufe"] = col_table["l"] col_table["l'cirufe"] = col_table["l"]

col_table["bladenia"] = col_table["nia-blade"] col_table["catalyst"] = col_table["nia-blade"] col_table["cole"] = col_table["minoth"] col_table["fan"] = col_table["haze"] col_table["fanlanorne"] = col_table["haze"] col_table["gramps"] = col_table["azurda"] col_table["morag"] = col_table["mòrag"] col_table["niablade"] = col_table["nia-blade"] col_table["nia-xc2"] = col_table["nia"] col_table["poppiα"] = col_table["poppi"] col_table["poppiqt"] = col_table["poppi"] col_table["poppiqtπ"] = col_table["poppi"] col_table["titangramps"] = col_table["titanazurda"]

col_table["xc2-pc-1"] = col_table["rex"] col_table["xc2-pc-2"] = col_table["nia"] col_table["xc2-pc-3"] = col_table["zeke"] col_table["xc2-pc-4"] = col_table["tora"] col_table["xc2-pc-5"] = col_table["vandham-xc2"] col_table["xc2-pc-6"] = col_table["mòrag"] col_table["xc2-pc-7"] = col_table["jin-xc2"] col_table["xc2-pc-8"] = col_table["malos"] col_table["xc2-pc-9"] = col_table["jin-xc2"] col_table["xc2-pc-10"] = col_table["zeke"] col_table["xc2-pc-11"] = col_table["rex"] col_table["xc2-pc-12"] = col_table["jin-xc2"] col_table["xc2-pc-17"] = col_table["lora"] col_table["xc2-pc-18"] = col_table["addam"] col_table["xc2-pc-19"] = col_table["hugo"] col_table["xc2-pc-20"] = col_table["jin-xc2"] col_table["xc2-pc-21"] = col_table["haze"] col_table["xc2-pc-22"] = col_table["mythra"] col_table["xc2-pc-23"] = col_table["minoth"] col_table["xc2-pc-24"] = col_table["brighid"] col_table["xc2-pc-25"] = col_table["aegaeon"] col_table["xc2-pc-1001"] = col_table["pyra"] col_table["xc2-pc-1002"] = col_table["mythra"] col_table["xc2-pc-1003"] = col_table["pneuma"] col_table["xc2-pc-1004"] = col_table["dromarch"] col_table["xc2-pc-1005"] = col_table["poppi"] col_table["xc2-pc-1006"] = col_table["poppi"] col_table["xc2-pc-1007"] = col_table["poppi"] col_table["xc2-pc-1008"] = col_table["roc"] col_table["xc2-pc-1009"] = col_table["brighid"] col_table["xc2-pc-1010"] = col_table["pandoria"] col_table["xc2-pc-1011"] = col_table["nia-blade"] col_table["xc2-pc-1014"] = col_table["aegaeon"] col_table["xc2-pc-1015"] = col_table["godfrey"] col_table["xc2-pc-1016"] = col_table["wulfric"] col_table["xc2-pc-1017"] = col_table["perceval"] col_table["xc2-pc-1018"] = col_table["vale"] col_table["xc2-pc-1019"] = col_table["agate"] col_table["xc2-pc-1020"] = col_table["gorg"] col_table["xc2-pc-1021"] = col_table["boreas"] col_table["xc2-pc-1022"] = col_table["dagas"] col_table["xc2-pc-1023"] = col_table["kasandra"] col_table["xc2-pc-1024"] = col_table["praxis"] col_table["xc2-pc-1025"] = col_table["theory"] col_table["xc2-pc-1026"] = col_table["perun"] col_table["xc2-pc-1027"] = col_table["kora"] col_table["xc2-pc-1028"] = col_table["azami"] col_table["xc2-pc-1029"] = col_table["ursula"] col_table["xc2-pc-1030"] = col_table["newt"] col_table["xc2-pc-1031"] = col_table["nim"] col_table["xc2-pc-1032"] = col_table["sheba"] col_table["xc2-pc-1033"] = col_table["vess"] col_table["xc2-pc-1034"] = col_table["adenine"] col_table["xc2-pc-1035"] = col_table["electra"] col_table["xc2-pc-1036"] = col_table["zenobia"] col_table["xc2-pc-1037"] = col_table["finch"] col_table["xc2-pc-1038"] = col_table["floren"] col_table["xc2-pc-1039"] = col_table["kos-mos"] col_table["xc2-pc-1040"] = col_table["herald"] col_table["xc2-pc-1041"] = col_table["dahlia"] col_table["xc2-pc-1042"] = col_table["sever"] col_table["xc2-pc-1043"] = col_table["akhos"] col_table["xc2-pc-1044"] = col_table["patroka"] col_table["xc2-pc-1045"] = col_table["mikhail"] col_table["xc2-pc-1046"] = col_table["obrona"] col_table["xc2-pc-1047"] = col_table["perdido"] col_table["xc2-pc-1048"] = col_table["cressidus"] col_table["xc2-pc-1049"] = col_table["sever"] col_table["xc2-pc-1050"] = col_table["dagas"] col_table["xc2-pc-1074"] = col_table["pneuma"] col_table["xc2-pc-1075"] = col_table["pyra"] col_table["xc2-pc-1076"] = col_table["pandoria"] col_table["xc2-pc-1077"] = col_table["sever"] col_table["xc2-pc-1078"] = col_table["obrona"] col_table["xc2-pc-1079"] = col_table["obrona"] col_table["xc2-pc-1080"] = col_table["perdido"] col_table["xc2-pc-1081"] = col_table["cressidus"] col_table["xc2-pc-1102"] = col_table["herald"] col_table["xc2-pc-1103"] = col_table["brighid"] col_table["xc2-pc-1104"] = col_table["t-elos"] col_table["xc2-pc-1105"] = col_table["poppibuster"] col_table["xc2-pc-1106"] = col_table["shulk"] col_table["xc2-pc-1107"] = col_table["fiora"] col_table["xc2-pc-1108"] = col_table["corvin"] col_table["xc2-pc-1109"] = col_table["crossette"] col_table["xc2-pc-1111"] = col_table["elma"] col_table["xc2-pc-1112"] = col_table["corvin"] col_table["xc2-pc-1126"] = col_table["jin-xc2"] col_table["xc2-pc-1127"] = col_table["haze"] col_table["xc2-pc-1128"] = col_table["mythra"] col_table["xc2-pc-1129"] = col_table["minoth"] col_table["xc2-pc-1130"] = col_table["brighid"] col_table["xc2-pc-1131"] = col_table["aegaeon"]

col_table["consulc"] = col_table["c"] col_table["consuld"] = col_table["d"] col_table["consulj"] = col_table["j"] col_table["consulm"] = col_table["m"] col_table["consuln"] = col_table["n"] col_table["consuls"] = col_table["s"] col_table["consult"] = col_table["triton"] col_table["consulx"] = col_table["x"] col_table["consuly"] = col_table["y"] col_table["consulz"] = col_table["z"] col_table["t"] = col_table["triton"]

col_table["xc3-pc-1"] = col_table["noah"] col_table["xc3-pc-2"] = col_table["mio"] col_table["xc3-pc-3"] = col_table["eunie"] col_table["xc3-pc-4"] = col_table["taion"] col_table["xc3-pc-5"] = col_table["lanz"] col_table["xc3-pc-6"] = col_table["sena"] col_table["xc3-pc-7"] = col_table["ethel"] col_table["xc3-pc-8"] = col_table["riku"] col_table["xc3-pc-9"] = col_table["manana"] col_table["xc3-pc-10"] = col_table["isurd"] col_table["xc3-pc-11"] = col_table["miyabi"] col_table["xc3-pc-12"] = col_table["cammuravi"] col_table["xc3-pc-13"] = col_table["monica"] col_table["xc3-pc-14"] = col_table["joran"] col_table["xc3-pc-15"] = col_table["nia-xc3"] col_table["xc3-pc-16"] = col_table["melia-xc3"] col_table["xc3-pc-17"] = col_table["valdi"] col_table["xc3-pc-18"] = col_table["zeon"] col_table["xc3-pc-19"] = col_table["teach"] col_table["xc3-pc-20"] = col_table["alexandria"] col_table["xc3-pc-21"] = col_table["juniper"] col_table["xc3-pc-22"] = col_table["ashera"] col_table["xc3-pc-23"] = col_table["triton"] col_table["xc3-pc-24"] = col_table["fiona"] col_table["xc3-pc-25"] = col_table["segiri"] col_table["xc3-pc-26"] = col_table["ghondor"] col_table["xc3-pc-27"] = col_table["gray"] col_table["xc3-pc-28"] = col_table["nimue"] col_table["xc3-pc-29"] = col_table["mwamba"] col_table["xc3-pc-30"] = col_table["noah"] col_table["xc3-pc-31"] = col_table["mio"] col_table["xc3-pc-32"] = col_table["ino"] col_table["xc3-pc-33"] = col_table["masha"]

col_table["xc3-h2h-1"] = col_table["noah"] col_table["xc3-h2h-2"] = col_table["mio"] col_table["xc3-h2h-3"] = col_table["eunie"] col_table["xc3-h2h-4"] = col_table["taion"] col_table["xc3-h2h-5"] = col_table["lanz"] col_table["xc3-h2h-6"] = col_table["sena"] col_table["xc3-h2h-7"] = col_table["ethel"] col_table["xc3-h2h-8"] = col_table["riku"] col_table["xc3-h2h-9"] = col_table["manana"] col_table["xc3-h2h-a"] = col_table["isurd"] col_table["xc3-h2h-b"] = col_table["miyabi"] col_table["xc3-h2h-c"] = col_table["cammuravi"] col_table["xc3-h2h-d"] = col_table["monica"] col_table["xc3-h2h-e"] = col_table["joran"] col_table["xc3-h2h-f"] = col_table["nia-xc3"] col_table["xc3-h2h-g"] = col_table["melia-xc3"] col_table["xc3-h2h-h"] = col_table["valdi"] col_table["xc3-h2h-i"] = col_table["zeon"] col_table["xc3-h2h-j"] = col_table["teach"] col_table["xc3-h2h-k"] = col_table["alexandria"] col_table["xc3-h2h-l"] = col_table["juniper"] col_table["xc3-h2h-m"] = col_table["ashera"] col_table["xc3-h2h-n"] = col_table["triton"] col_table["xc3-h2h-o"] = col_table["fiona"] col_table["xc3-h2h-p"] = col_table["segiri"] col_table["xc3-h2h-q"] = col_table["ghondor"] col_table["xc3-h2h-r"] = col_table["gray"] col_table["xc3-h2h-s"] = col_table["nimue"] col_table["xc3-h2h-t"] = col_table["mwamba"] col_table["xc3-h2h-u"] = col_table["noah"] col_table["xc3-h2h-v"] = col_table["mio"] col_table["xc3-h2h-w"] = col_table["ino"] col_table["xc3-h2h-x"] = col_table["masha"] col_table["xc3-h2h-tv"] = col_table["manana"] col_table["xc3-h2h-dw1"] = col_table["segiri"] col_table["xc3-h2h-xw1"] = col_table["riku"]

return col_table