Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / ColorHelper Class / ToHtmlColor Method / ToHtmlColor(Color) Method
The Color to convert.


In This Topic
    ToHtmlColor(Color) Method
    In This Topic
    Converts a Color into an HTML string.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function ToHtmlColor( _
       ByVal color As Color _
    ) As String
    'Usage
     
    
    Dim color As Color
    Dim value As String
     
    value = ColorHelper.ToHtmlColor(color)
    public static string ToHtmlColor( 
       Color color
    )

    Parameters

    color
    The Color to convert.

    Return Value

    The HTML string that represents the converted color.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also