# lineColorCapacity

Canonical: https://docs.shumoku.dev/en/library/api/lineColorCapacity
Language: en

@shumoku/core · 0.5.0 · function

# lineColorCapacity

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/themes/tone.ts#L56)

The most colours a tone can tell apart.

```
lineColorCapacity(tone: LineTone): number
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `tone` | `LineTone` | No additional description. | `—` |

## Returns

```
number
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/themes/tone.ts:56`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/themes/tone.ts#L56)
