1 console.log("%cThis is a %cConsole.log", "background:black ; color: white", "color: red; font-size:25px");
2
1var colors = require('colors');
2
3console.log('i am black'.black);
4console.log('i am red'.red);
5console.log('i am green'.green);
6console.log('i am black'.yellow);
7console.log('i am blue'.blue);
8console.log('i am magenta'.magenta);
9console.log('i am cyan'.cyan);
10console.log('i am white'.white);
11console.log('i am gray'.gray);
12console.log('i am grey'.grey);
13
1var colors = require('colors');
2
3console.log('i am black'.bgBlack);
4console.log('i am red'.bgRed);
5console.log('i am green'.bgGreen);
6console.log('i am black'.bgYellow);
7console.log('i am blue'.bgBlue);
8console.log('i am magenta'.bgMagenta);
9console.log('i am cyan'.bgCyan);
10console.log('i am white'.bgWhite);
11
1var colors = require('colors');
2
3console.log('This is bold'.bold);
4console.log('This is dim'.dim);
5console.log('This is italic'.italic);
6console.log('This is underline'.underline);
7console.log('This is inverse'.inverse);
8console.log('This is hidden'.hidden);
9
1var colors = require('colors');
2
3console.log('This is rainbow'.rainbow);
4console.log('This is zebra'.zebra);
5console.log('This is america'.america);
6console.log('This is trap'.trap);
7console.log('This is random'.random);
8console.log('This is random2'.random);
9console.log('This is random3'.random);
10