FromConsoleColor(ConsoleColor) Method
Converts a
ConsoleColor
to a Color
.
public static Color FromConsoleColor(ConsoleColor color)
- Namespace
- Spectre
.Console - Containing Type
- Color
Parameters
- ConsoleColor color
- The color to convert.