Answers for "adding colors in console.log"

3

console.log with color font

console.log("%cThis is a %cConsole.log", "background:black ; color: white", "color: red; font-size:25px");
Posted by: Guest on December-10-2020
0

console.log with color font

var colors = require('colors');

console.log('This is rainbow'.rainbow);
console.log('This is zebra'.zebra);
console.log('This is america'.america);
console.log('This is trap'.trap);
console.log('This is random'.random);
console.log('This is random2'.random);
console.log('This is random3'.random);
Posted by: Guest on December-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language