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