function Color takes integer pl returns string
if (pl == 0) then
return "|cffff0303"
endif
if (pl == 1) then
return "|cff0042ff"
endif
if (pl == 2) then
return "|cff1ce6b9"
endif
if (pl == 3) then
return "|cff540081"
endif
if (pl == 4) then
return "|c00fffc01"
endif
if (pl == 5) then
return "|cfffeba0e"
endif
if (pl == 6) then
return "|cff20c000"
endif
if (pl == 7) then
return "|cffd55bb0"
endif
if (pl == 8) then
return "|cff959697"
endif
if (pl == 9) then
return "|cff7ebff1"
endif
if (pl == 10) then
return "|cff106246"
endif
if (pl == 11) then
return "|cff4c2a04"
endif
return ""
endfunction
if (pl == 0) then
return "|cffff0303"
endif
if (pl == 1) then
return "|cff0042ff"
endif
if (pl == 2) then
return "|cff1ce6b9"
endif
if (pl == 3) then
return "|cff540081"
endif
if (pl == 4) then
return "|c00fffc01"
endif
if (pl == 5) then
return "|cfffeba0e"
endif
if (pl == 6) then
return "|cff20c000"
endif
if (pl == 7) then
return "|cffd55bb0"
endif
if (pl == 8) then
return "|cff959697"
endif
if (pl == 9) then
return "|cff7ebff1"
endif
if (pl == 10) then
return "|cff106246"
endif
if (pl == 11) then
return "|cff4c2a04"
endif
return ""
endfunction