# smokeColor

function in `@dioramajs/text/smoke`

```ts
import { smokeColor } from '@dioramajs/text/smoke'
```

The smoke color of a style: `color` if it is one, else grey white, a pale fog or the ink.

```ts
function smokeColor(style: Style, value: string, element: Element): string
```

| Parameter | Type | Description |
| --- | --- | --- |
| `style` | `Style` |  |
| `value` | `string` |  |
| `element` | `Element` |  |

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