# wallTone

function in `@dioramajs/text/neon`

```ts
import { wallTone } from '@dioramajs/text/neon'
```

Lightness 0..1 of the wall behind the element: the first background color at least half
opaque on it or an ancestor, white (the page's default) without one.

```ts
function wallTone(element: Element): number
```

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

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