Added text coloring function for representing errors.
Added text coloring function for representing errors.