# backdrop

function in `@dioramajs/data/graph`

```ts
import { backdrop } from '@dioramajs/data/graph'
```

The colour painted behind an element: the first ancestor background that is not clear.

```ts
function backdrop(element: Element): string | undefined
```

| Parameter | Type | Description |
| --- | --- | --- |
| `element` | `Element` |  |

Defined in [packages/data/src/graph.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/data/src/graph.ts#L1058).
