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

## getColorDefinitionByName variable

### getColorDefinitionByName variable

<b>Signature</b>

```typescript
getColorDefinitionByName: (name: Color) => ColorDefinition
```
<b>Import</b>

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