console.log background color css code example Example: js console log with color console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');