怎么让字变颜色

如何让字变颜色?
我在timer中写

if   thisform.label2.forecolor   =   '0,255,255 '  
      thisform.label2.forecolor   =   '128,255,0 '
else   thisform.label2.forecolor   =   '128,255,0 '
      thisform.label2.forecolor   =   '0,255,255 '
但是不对
要怎么写

------解决方案--------------------
if thisform.label2.forecolor = 16776960 &&rgb(0,255,55)
thisform.label2.forecolor = 65408 &&rgb(128,255,0)
else
thisform.label2.forecolor = 16776960 &&rgb(0,255,55)
endif