Platinum
Hello!
- Sep 2, 2012
- 295
- 282
Hello! So I was recently curious if I could make my console all fancy with colours and gradients and I ended up finding a pretty neat website that everyone may not know about but would appreciate.
Colorful.Console is offered in both
Now you need to be sure that at the top of your code you include:
After that, you may have to change the code which define colours for the console, for example you would change from ConsoleColor.Red to Color.Red wherever it is applicable.
Now you're all set! Use the website to further guide you on how to make colours appear in a specific way on your console, here is one example of the results you could get.
You must be registered for see links
by Tom Akita shows many examples of what you may want for your own console; at first I was confused over how I would install Colorful.Console but then figured out some few steps which needed to be taken.Colorful.Console is offered in both
You must be registered for see links
&
You must be registered for see links
. For the basic installation, in Visual Studio you would navigate to Tools -> NuGet Package Manager -> Package Manager Console and then in the console you would type Install-Package Colorful.Console -Version 1.2.9 - this will install the library onto whichever solution you execute the installation code.Now you need to be sure that at the top of your code you include:
Code:
using System;
using System.Drawing;
using Console = Colorful.Console;
After that, you may have to change the code which define colours for the console, for example you would change from ConsoleColor.Red to Color.Red wherever it is applicable.
Now you're all set! Use the website to further guide you on how to make colours appear in a specific way on your console, here is one example of the results you could get.