# IHeatmapColorProvider.GetColor method

Returns the color of a heatmap cell that displays the specified value.

**Namespace:** [`Eremex.AvaloniaUI.Charts`](../index.md)  
**Assembly:** `Eremex.Avalonia.Charts.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public Color GetColor(double value, IMinMaxValues range)
```

## Parameters

| name | type | description |
| --- | --- | --- |
| value | `double` | The value displayed by the cell. |
| range | `IMinMaxValues` | The range of the values displayed by the heatmap. |

## Returns

| type | description |
| --- | --- |
| `Color` | The color of the cell. |

## See Also

* interface [IHeatmapColorProvider](../IHeatmapColorProvider.md)
* namespace [Eremex.AvaloniaUI.Charts](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
