+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "getColorName"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## getColorName variable

### getColorName variable

<b>Signature</b>

```typescript
getColorName: (color?: string | undefined, theme?: GrafanaThemeType | undefined) => Color | undefined
```
<b>Import</b>

```typescript
import { getColorName } from '@grafana/data';
```
