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

## ColorDefinition type

### ColorDefinition type

<b>Signature</b>

```typescript
export declare type ColorDefinition = {
    hue: Hue;
    isPrimary?: boolean;
    name: Color;
    variants: ThemeVariants;
};
```
<b>Import</b>

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