# lineColors

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

@shumoku/core · 0.5.0 · function

# lineColors

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

\`count\` colours of a tone, as \`#rrggbb\`: hues evenly spaced from the tone's, at the least chroma that keeps them told apart. \`undefined\` when the tone has no room for that many.

```
lineColors(tone: LineTone, count: number): string[] | undefined
```

## Parameters

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

## Returns

```
string[] | undefined
```

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