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