Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
You could try something like
myTextElement.fill = "{Ref '25% Gray' 100}" ,
myTextElement.fill = "{Ref '$ISO_BLACK' 25}"
or
myTextElement.fill = "{RGB 191 191 191}"
