Added support of color
modified:   main.c
modified:   portability.h