I'd vote for something like this being in core. Other languages use color by default for errors/warnings. And there's already several core modules that have optional colored output:
- use re 'debugcolor'
- App::Prove
- TAP::Formatter::Color
- Test::Builder::Tester
- Test:Tester