implemented ANSI codes support for text color and warn()