# fittingLineTone

Canonical: https://docs.shumoku.dev/ja/library/api/fittingLineTone
Language: ja

@shumoku/core · 0.5.0 · function

# fittingLineTone

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

APIの説明は英語のcanonical sourceを表示しています。

The tone that tells the most lines apart over these backgrounds: of the lightnesses at which every hue is seen, the one that leaves the most chroma. For writing a theme's \`lineTone\`.

```
fittingLineTone(backgrounds: readonly string[], hue: number): LineTone | undefined
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `backgrounds` | `readonly string[]` | 追加説明はありません。 | `—` |
| `hue` | `number` | 追加説明はありません。 | `—` |

## 戻り値

```
LineTone | undefined
```

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