Search
 
SCRIPT & CODE EXAMPLE
 

CSS

console.log with color font

 console.log("%cThis is a %cConsole.log", "background:black ; color: white", "color: red; font-size:25px");
Comment

console.log with color font

var colors = require('colors');

console.log('i am black'.bgBlack);
console.log('i am red'.bgRed);
console.log('i am green'.bgGreen);
console.log('i am black'.bgYellow);
console.log('i am blue'.bgBlue);
console.log('i am magenta'.bgMagenta);
console.log('i am cyan'.bgCyan);
console.log('i am white'.bgWhite);
Comment

console.log color

colors = {
    reset: '33[0m',

    //text color

    black: '33[30m',
    red: '33[31m',
    green: '33[32m',
    yellow: '33[33m',
    blue: '33[34m',
    magenta: '33[35m',
    cyan: '33[36m',
    white: '33[37m',

    //background color

    blackBg: '33[40m',
    redBg: '33[41m',
    greenBg: '33[42m',
    yellowBg: '33[43m',
    blueBg: '33[44m',
    magentaBg: '33[45m',
    cyanBg: '33[46m',
    whiteBg: '33[47m'
}

console.log('33[31m this is red color on text');
console.log('33[0m this is reset');
console.log('33[41m this is red color on background');
Comment

console.log with color font

var colors = require('colors');

console.log('i am black'.black);
console.log('i am red'.red);
console.log('i am green'.green);
console.log('i am black'.yellow);
console.log('i am blue'.blue);
console.log('i am magenta'.magenta);
console.log('i am cyan'.cyan);
console.log('i am white'.white);
console.log('i am gray'.gray);
console.log('i am grey'.grey);
Comment

console.log with color font

 console.log("%cThis Is Line One ", "font-size:30px");o
Comment

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);
Comment

console.log with color font

var colors = require('colors');

console.log('This is rainbow'.rainbow);
console.log('This is zebra'.zebra);
console.log('This is america'.america);
console.log('This is trap'.trap);
console.log('This is random'.random);
console.log('This is random2'.random);
console.log('This is random3'.random);
Comment

PREVIOUS NEXT
Code Example
Css :: jquery add css 
Css :: linear-gradient(top to bottom) 
Css :: resize logo html css 
Css :: input time without am pm 
Css :: make all images same size css 
Css :: css line break width 
Css :: css text limit 
Css :: how to change style based on screen size 
Css :: css code to blur background 
Css :: css important 
Css :: change scroll style angular 
Css :: transition scale 
Css :: backwards text css 
Css :: boostrap pointer 
Css :: make mat card scrollable 
Css :: aligning form elements to center in css 
Css :: how to remove link color from <a 
Css :: How to prevent anchor links from scrolling behind a sticky header with one line of CSS 
Css :: center div horizontally 
Css :: imporatn css 
Css :: css root variables 
Css :: flex max slang meaning 
Css :: default cursor css 
Css :: How to remove specific td border in css 
Css :: how to check if eloquent result is empty 
Css :: font awesome pseudo element 
Css :: on clicking a link it gets red color 
Css :: how to block elements from scrolling css 
Css :: stop the client from scrolling 
Css :: underline css animation hover 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =