Color terminal console

Question 1

				
					console.log("\u001b[1;31m I am red");
console.log("\u001b[1;32m I am green");
console.log("\u001b[1;33m I am yellow");
console.log("\u001b[1;34m I am blue");
console.log("\u001b[1;35m I am purple");
console.log("\u001b[1;36m I am cyan");

console.log(''+ "Hello")
				
			

Snippet

				
					 "Print to Consolegreen": {
    "body": ["console.log('\u001b[1;32m'+ $1)"],
    "prefix": "clgg",
    "description": "console log"
  },
				
			

Leave a Comment