conaito Office2Silverlight SDK
Get hex from color(use for appearance.BeckgroundColor etc.).

Namespace: Conaito.Office2Silverlight
Assembly: office2silverlight (in office2silverlight.exe) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static string ColorToHex(
	Color color
)
Visual Basic
Public Shared Function ColorToHex ( _
	color As Color _
) As String
Visual C++
public:
static String^ ColorToHex(
	Color color
)

Parameters

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

Return Value

See Also