FromHex(string) Method
Creates a color from a hexadecimal string representation.
public static Color FromHex(string hex)
- Namespace
- Spectre
.Console - Containing Type
- Color
Parameters
- string hex
- The hexadecimal string representation of the color.