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

# IConditionalFormattingFormat

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

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The visual format applied to a matched cell or row.

**Signature:**

```typescript
export interface IConditionalFormattingFormat 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [backgroundColor?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iconditionalformattingformat/index.md#iconditionalformattingformatbackgroundcolor) |  | string | **_(ALPHA)_** _(Optional)_ Fill / background color (raw hex, e.g. "\#E54D40"). |
| [color?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iconditionalformattingformat/index.md#iconditionalformattingformatcolor) |  | string | **_(ALPHA)_** _(Optional)_ Text color (raw hex, e.g. "\#FFFFFF"). |
| [scope](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iconditionalformattingformat/index.md#iconditionalformattingformatscope) |  | "cell" \| "row" | **_(ALPHA)_** Whether the format applies to the matched cell only or the whole row. |

## Property details

### IConditionalFormattingFormat.backgroundColor

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Fill / background color (raw hex, e.g. "\#E54D40").

**Signature:**

```typescript
backgroundColor?: string;
```

### IConditionalFormattingFormat.color

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Text color (raw hex, e.g. "\#FFFFFF").

**Signature:**

```typescript
color?: string;
```

### IConditionalFormattingFormat.scope

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the format applies to the matched cell only or the whole row.

**Signature:**

```typescript
scope: "cell" | "row";
```
