# edgeColor

function in `@dioramajs/model/box`

```ts
import { edgeColor } from '@dioramajs/model/box'
```

The average colour of a thin strip along one edge of a picture.

```ts
function edgeColor(image: unknown, edge: Edge): Color | undefined
```

| Parameter | Type | Description |
| --- | --- | --- |
| `image` | `unknown` |  |
| `edge` | `Edge` |  |

Defined in [packages/model/src/studio.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/model/src/studio.ts#L187).
