This question already has an answer here:
- redefining Console colour palette in c# 1 answer
- Custom text color in C# console application? 10 answers
I have been writing console apps for a while and noticed that the consoles (such as cmd.exe) support RGB colors but the 'Console' class for .NET doesn't. Does anyone know of a library that would allow RGB colors for a console app in C#?
user2038443
I have found a solution but it is not worth the time and effort, this should be easier to do and i hope that in future versions of .NET framework this process will be simplified.
来源:https://stackoverflow.com/questions/15732579/c-sharp-library-for-more-consolecolors