Module:Infobox language/family color

local p= { ["afro-asiatic"]="#faecc8", ["algic"]="lightskyblue", ["altaic"] = "yellowgreen", ["american"]="#c0dde6", ["andamanese"] = "#c99fee", ["australian"]="#eba9ee", ["austroasiatic"]="lightcoral", ["austronesian"] = "pink", ["caucasian"]="lightgreen", ["conlang"]="#114057", ["creole"]="tan", ["dravidian"] = "mediumspringgreen", ["eskimo-aleut"]="lightcyan", ["gray"]="#dddddd", ["hmong-mien"]="#f2ceee", ["indo-european"] = "#c9ffd9", ["isolate"]="#dddddd", ["khoisan"] = "goldenrod", ["na-dene"]="#99ddff", ["niger-congo"]="#ffddaa", ["nilo-saharan"] = "gold", ["palaeosiberian"] = "darkseagreen", ["papuan"]= "#fd79da", ["sign"] = "silver", ["sino-tibetan"] = "salmon", ["tai-kadai"] = "lavender", ["uralic"] = "lime", ["uto-aztecan"] = "#80bfff", ["unclassified"] = "white", }

local aliases= {	["#dddddd"]="gray", ["afrasiatic"]="afro-asiatic", ["afroasiatic"]="afro-asiatic", ["algonkian"]="algic", ["american (areal)"]="american", ["artificial"]="conlang", ["australian (areal)"]="australian", ["austro-asiatic"]="austroasiatic", ["caucasian (areal)"]="caucasian", ["constructed"]="conlang", ["constructed language"]="conlang", ["creole/pidgin/mixed"]="creole", ["dene-yeniseian"]="na-dene", ["dené-yeniseian"]="na-dene", ["dene–yeniseian"]="na-dene", ["dené–yeniseian"]="na-dene", ["eskaleut"]="eskimo-aleut", ["eskimo–aleut"]="eskimo-aleut", ["grey"]="gray", ["hmong–mien"]="hmong-mien", ["kadai"]="tai-kadai", ["khoisan (areal)"]="khoisan", ["kra-dai"]="tai-kadai", ["kra–dai"]="tai-kadai", ["kradai"]="tai-kadai", ["language isolate"]="isolate", ["miao-yao"]="hmong-mien", ["miao–yao"]="hmong-mien", ["mixed"]="creole", ["na-dené"]="na-dene", ["na–dene"]="na-dene", ["na–dené"]="na-dene", ["niger–congo"]="niger-congo", ["nilo-saharan?"]="nilo-saharan", ["palaeo-siberian"]="palaeosiberian", ["paleo-siberian"]="palaeosiberian", ["paleosiberian"]="palaeosiberian", ["palaeosiberian (areal)"]="palaeosiberian", ["papuan (areal)"]="papuan", ["pidgin"]="creole", ["sign language"]="sign", ["superfamily"]="unclassified", ["tai–kadai"]="tai-kadai", ["utoaztecan"]="uto-aztecan", }

for alias,primary in pairs(aliases) do	p[alias]=p[primary] end

return p