import appuifw as a,graphics as g
class gg:pass
#gg.sl=[ [[[x,y],text,color,font],'[]text[/]'] ]
#эталон
gg.sl=[ [[[5,15],'hello',0xff,(None,16,16)],'[]hello[/]'] ]
def mcolor(arg):
color=0x990099
gg.sl[arg][0][2]=color
print gg.sl
mcolor(0)
print gg.sl
Меняем значение цвета в переменной.