Code:
colors = {
{
title = 'LIGHTBLUE',
color = 'cff00ccff',
},
{
title = 'LIGHTRED',
color = 'cffff6060',
},
{
title = 'SPRINGGREEN',
color = 'cff00FF7F',
},
{
title = 'GREENYELLOW',
color = 'cffADFF2F',
},
{
title = 'BLUE',
color = 'cff0000ff',
},
{
title = 'PURPLE',
color = 'cffDA70D6',
},
{
title = 'GREEN',
color = 'cff00ff00',
},
{
title = 'RED',
color = 'cffff0000',
},
{
title = 'GOLD',
color = 'cffffcc00',
},
{
title = 'GOLD2',
color = 'cffFFC125',
},
{
title = 'GREY',
color = 'cff888888',
},
{
title = 'WHITE',
color = 'cffffffff',
},
{
title = 'SUBWHITE',
color = 'cffbbbbbb',
},
{
title = 'MAGENTA',
color = 'cffff00ff',
},
{
title = 'YELLOW',
color = 'cffffff00',
},
{
title = 'ORANGEY',
color = 'cffFF4500',
},
{
title = 'CHOCOLATE',
color = 'cffCD661D',
},
{
title = 'CYAN',
color = 'cff00ffff',
},
{
title = 'IVORY',
color = 'cff8B8B83',
},
{
title = 'LIGHTYELLOW',
color = 'cffFFFFE0',
},
{
title = 'SEXGREEN',
color = 'cff71C671',
},
{
title = 'SEXTEAL',
color = 'cff388E8E',
},
{
title = 'SEXPINK',
color = 'cffC67171',
},
{
title = 'SEXBLUE',
color = 'cff00E5EE',
},
{
title = 'SEXHOTPINK',
color = 'cffFF6EB4'
},
}
function printColors()
--print("\124cffFF0000This text is red\124r") --This is red color
local startLine = '\124'
local endLine = '\124r'
for i = 1, table.getn(colors) do
print(startLine .. colors[i].color .. colors[i].title .. endLine)
end
end