Enumerated Colors

Lets try this again.

I want to use an enum of colors but System.Drawing.KnownColor (KnownColor Enum (System.Drawing))
is not supported in Unity.

What is my best option?

I guess there is an easy solution afterall, I just need to use ConsoleColor instead of Color.

public enum RarityTypes 			{Common = ConsoleColor.Gray, Enchanted = ConsoleColor.White, Rare = ConsoleColor.Green, Heroic = ConsoleColor.Blue, Legendary = ConsoleColor.DarkMagenta, Unique = ConsoleColor.Yellow};

ConsoleColor is Different from Color.

I’d like to use this way(Create a Color file by VS)

            System.Array colorsArray = Enum.GetValues(typeof(KnownColor));
            KnownColor[] allColors = new KnownColor[colorsArray.Length];

            Array.Copy(colorsArray, allColors, colorsArray.Length);
            for (int i = 0; i < allColors.Length; i++)
            {
                Color c = Color.FromName(allColors*.ToString());*

//first way : crate an enum
Console.WriteLine(allColors + " = " + c.ToArgb() + “,”);

//second way : crate a class
Console.WriteLine("public static Color " + allColors + " = new Color32(" + c.R + “,” + c.G + “,” + c.B + “,” + c.A + “);”);
}