Update for profiles:
You can change the color of a gui object without creating a new profile now:
PHP Code:
new GuiTextCtrl("MyText") {
x = y = 100;
profile = "GuiTextProfile";
useownprofile = true;
profile.fontColor = {0,0,255};
}
When setting "useownprofile = true" then the gui object will create a new profile, copying the existing profile you have specified. All further profile modifications will only affect the current gui object. In this example it is setting the font color to "blue".