Skip to content

Instantly share code, notes, and snippets.

@xxczaki
Last active July 3, 2018 19:09
Show Gist options
  • Select an option

  • Save xxczaki/b5b1ae6f5e3f09ac27eb4f8c8005e0e4 to your computer and use it in GitHub Desktop.

Select an option

Save xxczaki/b5b1ae6f5e3f09ac27eb4f8c8005e0e4 to your computer and use it in GitHub Desktop.

Revisions

  1. xxczaki revised this gist Jul 3, 2018. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion example3.js
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    const chalk = require('chalk');

    console.log(chalk.hex('#FF0000')("Lorem ipsum dolor sit amet, consectetur adipiscing elit."));
    console.log(chalk.hex('#FF0000')("Lorem ipsum dolor sit amet, consectetur adipiscing elit."));

    console.log(chalk.rgb(123, 45, 67)("Lorem ipsum dolor sit amet, consectetur adipiscing elit."));
  2. xxczaki created this gist Jul 3, 2018.
    3 changes: 3 additions & 0 deletions example3.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    const chalk = require('chalk');

    console.log(chalk.hex('#FF0000')("Lorem ipsum dolor sit amet, consectetur adipiscing elit."));