Colors::ptln() always writes color codes to STDOUT while writing the message text to the requested channel. Just submitted a PR to fix this. https://github.com/splitbrain/php-cli/pull/29