Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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}"