# grounds

function in `@dioramajs/text/lens`

```ts
import { grounds } from '@dioramajs/text/lens'
```

The page color under the element's text, and behind the element.

```ts
function grounds(
  element: Element,
): { behind: string; dark: boolean; own: string }
```

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

Defined in [packages/text/src/lens.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/lens.ts#L216).
