Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to change the color of a console.log in javascript

// Download the npm package "colors"
// npm i colors

var colors = require("colors");

console.log("Hello World".blue);

// output: Hello World (Its blue btw lmao)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #color #javascript
ADD COMMENT
Topic
Name
5+2 =