console color log mobaxterm code example Example: how to color console.log console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');