> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IColorMappingItem

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/insight/index.ts

An item in color mapping definition for an insight. The color mapping is stored in properties of those insights that can be colored AND have color mapping specified by the user.

**Signature:**

```typescript
export interface IColorMappingItem 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [color](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icolormappingitem/index.md#icolormappingitemcolor) |  | [IColor](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icolor/index.md) |  |
| [id](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icolormappingitem/index.md#icolormappingitemid) |  | string |  |

## Property details

### IColorMappingItem.color

**Signature:**

```typescript
color: IColor;
```

### IColorMappingItem.id

**Signature:**

```typescript
id: string;
```
