using System;
class ColorTheText
{
public static void Main(string [] args)
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("\t\tCongratulations! You have cleared this level. \n\n\t\t\t Entering Level 2...");
Console.ForegroundColor = ConsoleColor.White;
}
}
しかし、16 進コード、つまり ConsoleColor から色を取得したいと考えています。16 進コード (#c0c0c0) からの色。どうやってするの?