console.log bg 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
var colors = require('colors');
console.log('i am black'.bgBlack);
console.log('i am red'.bgRed);
console.log('i am green'.bgGreen);
console.log('i am black'.bgYellow);
console.log('i am blue'.bgBlue);
console.log('i am magenta'.bgMagenta);
console.log('i am cyan'.bgCyan);
console.log('i am white'.bgWhite);