Module:RarityTier/Data

local hexColors = require("Module:Color/Data").hexColors

local tb = { common = { name="Common", order=1, color='white' }, uncommon = { name="Uncommon", order=2, color='green' }, rare = { name="Rare", order=3, color='blue' }, epic = { name="Epic", order=4, color='dark_purple' }, legendary = { name="Legendary", order=5, color='gold' }, mythic = { name="Mythic", order=6, color='light_purple' }, supreme = { name="Supreme", order=7, color='dark_red' }, special = { name="Special", order=8, color='red' }, very_special = { name="Very Special", order=9, color='red' }, }

for rarity, t in pairs(tb) do	t.hexColor = hexColors[t.color] end

return tb