CliColor.FromHex Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Creates a color from a hexadecimal string representation.
public static CliColor FromHex(string hex)
Parameters
hexstringThe hexadecimal string representation of the color.
Returns
- CliColor
The color created from the hexadecimal string.