added method for coloring and formatting text output