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