Implement PrintColored.
Thanks https://github.com/jose55 for the idea.