I have tested it. But it doesnt work.
Here is what Ive done:
Name: textcolor
Type: Text
Initial value: rgb("+str(102)+","+str(153)+","+str(255)+")
And I said (for testing) Set text to: textcolor
Text displays: rgb("+str(102)+","+str(153)+","+str(255)+")