Returns the Hex value of the selected color

Namespace: Reimers.Google.Map.Accessories
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public static string ColorToHex(
	this Color color
)

Parameters

color
Type: System.Drawing..::..Color
The color.

Field Value

A String representing the hex value of the color.

Return Value

The color to hex.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Color. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also