Colour codes in the sequence

hi ,

could someone explain to me what im doing wrong when trying to edit

|cffddaaff/cast|r |cff55cc55[noform:2]|r |cff88bbddCat Form|r|cffddaaff/targetenemy|r [noharm][dead]|cffddaaff/cast|r |cff55cc55[nostealth,nochanneling]|r |cff88bbddProwl|r|cffddaaff/cast|r |cff55cc55[mod:ctrl,nochanneling]|r |cff88bbddTiger’s Fury|r

instead of f.e this

/cast [combat,nochanneling] Incarnation: Avatar of Ashamane

the color codes need to be gone? they pop on and off, dont know why. Never saw that before.

i wonder what the first example does to a block btw, as in that form it is 290/255 chars used
so it couldnt work?

Thanks.