Fix for color handling

This fixes the parsing and output bugs in https://github.com/7sempra/rosetta/issues/2 .