1// Rainbow Giant Styled Text
2const style = 'font-weight: bold; font-size: 50px;color: red; text-shadow: 3px 3px 0 rgb(217,31,38) , 6px 6px 0 rgb(226,91,14) , 9px 9px 0 rgb(245,221,8) , 12px 12px 0 rgb(5,148,68) , 15px 15px 0 rgb(2,135,206) , 18px 18px 0 rgb(4,77,145) , 21px 21px 0 rgb(42,21,113)';
3
4console.log('%c Rainbowww!', style);
5
1 console.log("%cThis is a %cConsole.log", "background:black ; color: white", "color: red; font-size:25px");
2
1console.log('%c My txt ', 'My css');
2
3// Example
4console.log('%c Hello world ', 'background: #222; color: #bada55');
1Reset = "\x1b[0m"
2Bright = "\x1b[1m"
3Dim = "\x1b[2m"
4Underscore = "\x1b[4m"
5Blink = "\x1b[5m"
6Reverse = "\x1b[7m"
7Hidden = "\x1b[8m"
8
9FgBlack = "\x1b[30m"
10FgRed = "\x1b[31m"
11FgGreen = "\x1b[32m"
12FgYellow = "\x1b[33m"
13FgBlue = "\x1b[34m"
14FgMagenta = "\x1b[35m"
15FgCyan = "\x1b[36m"
16FgWhite = "\x1b[37m"
17
18BgBlack = "\x1b[40m"
19BgRed = "\x1b[41m"
20BgGreen = "\x1b[42m"
21BgYellow = "\x1b[43m"
22BgBlue = "\x1b[44m"
23BgMagenta = "\x1b[45m"
24BgCyan = "\x1b[46m"
25BgWhite = "\x1b[47m"
26
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