# HtmlDocumentationExporter.GetRouteMethodHexColor

Kind: Method  
Namespace: `Sisk.Documenting.Html`  
Assembly: `Sisk.Documenting.Html.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Documenting.Html.HtmlDocumentationExporter.GetRouteMethodHexColor.html

## GetRouteMethodHexColor(RouteMethod) {#Sisk_Documenting_Html_HtmlDocumentationExporter_GetRouteMethodHexColor_Sisk_Core_Routing_RouteMethod_}

Gets the hex color code associated with the specified route method.

```csharp
protected virtual string GetRouteMethodHexColor(RouteMethod rm)
```

### Parameters

`rm` RouteMethod

The route method to get the color for.

### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

The hex color code as a string.
