You can use the consoleLib.defaultDisplayAttributes system variable to specify default display characteristics for text created by the various "display" functions in consoleLib, such as consoleLib.displayAtLine() or consoleLib.displayAtPosition().
Type: PresentationAttributes
consoleLib.defaultDisplayAttributes.color = red;
consoleLib.defaultDisplayAttributes.highlight=[underline];
consoleLib.defaultDisplayAttributes {color = red, highlight=[underline]};
consoleLib.defaultDisplayAttributes {color=red};
openUI myRegister;