console.log print in color code example
Example 1: js console log with color
console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');
Example 2: js console.log color
console.log('%c My txt ', 'My css');
// Example
console.log('%c Hello world ', 'background: #222; color: #bada55');