Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use different colors #62

Open
Anogh297 opened this issue Nov 2, 2020 · 3 comments
Open

How to use different colors #62

Anogh297 opened this issue Nov 2, 2020 · 3 comments

Comments

@Anogh297
Copy link

Anogh297 commented Nov 2, 2020

Is there anyway to use it in colors like red and blue?

@patorjk
Copy link
Owner

patorjk commented Nov 2, 2020

You can color the output if you want, but it doesn't include colors by default.

@muuvmuuv
Copy link

Use https://www.npmjs.com/package/kleur around it

@sebastien-f
Copy link

I actually used colorette, but it works the same :

console.log(yellow((figlet.textSync("Text to be colored", { font: "Small"}))));

which renders :

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants