Answers for "colorize console.log texts"

CSS
23

how to color console.log

console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');
Posted by: Guest on April-09-2020
1

console.log with color font

var colors = require('colors');

console.log('This is bold'.bold);
console.log('This is dim'.dim);
console.log('This is italic'.italic);
console.log('This is underline'.underline);
console.log('This is inverse'.inverse);
console.log('This is hidden'.hidden);
Posted by: Guest on December-10-2020
0

console.log with color font

console.log("%cThis Is Line One ", "font-size:30px");o
Posted by: Guest on December-10-2020

Browse Popular Code Answers by Language