In This Topic
Convert a hex string to a .NET Color object.
Syntax
'Declaration
Public Overloads Shared Function ToColor( _
ByVal As String _
) As Color
public static Color ToColor(
string
)
Parameters
- hexColor
- A hex string: "FFFFFF", "#000000"
See Also