Same with you, after check the Symfony\Component\Console\Output\StreamOutput. I install the php posix extension via sudo yum --enablerepo=remi install php-posix then the ansi color is enabled default!
Symfony\Component\Console\Output\StreamOutput
sudo yum --enablerepo=remi install php-posix