Utility to apply styles to strings in consoles.