TryFromHex(string, Color) Method
Tries to convert a hexadecimal color code to a
Color
object.
public static bool TryFromHex(string hex, out Color color)
- Namespace
- Spectre
.Console - Containing Type
- Color
Parameters
Returns
- bool