Method IsValidHex
IsValidHex(string)
Check if a string is a valid hex color.
Declaration
public static bool IsValidHex(string hexColor)
Parameters
Type | Name | Description |
---|---|---|
string | hexColor | The hex color to check. |
Returns
Type | Description |
---|---|
bool | True if the string is a valid hex color. |