Skip to content

Instantly share code, notes, and snippets.

@rushfrisby
Last active June 26, 2017 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rushfrisby/da85bc690fcfbc669dd5f6b301d1b570 to your computer and use it in GitHub Desktop.
Save rushfrisby/da85bc690fcfbc669dd5f6b301d1b570 to your computer and use it in GitHub Desktop.
using System;
using System.Drawing;
using Console = Colorful.Console;
namespace lolcmd
{
class Program
{
private static Random random = new Random();
static void Main(string[] args)
{
for (int i = 0; i < 100; i++)
{
Console.WriteLine("this is some text", GetNextColor());
}
Console.ReadLine();
return;
}
private static Color GetNextColor()
{
return Color.FromArgb(random.Next(1, 255), random.Next(1, 255), random.Next(1, 255));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment