console log change color code example
Example 1: js console log with color
console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');
Example 2: console.log with color font
console.log("%cThis is a %cConsole.log", "background:black ; color: white", "color: red; font-size:25px");