# oklchToHex

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

@shumoku/core · 0.5.0 · function

# oklchToHex

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

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

An OKLCH colour as \`#rrggbb\`.

```
oklchToHex(lightness: number, chroma: number, hue: number): string
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `lightness` | `number` | 追加説明はありません。 | `—` |
| `chroma` | `number` | 追加説明はありません。 | `—` |
| `hue` | `number` | 追加説明はありません。 | `—` |

## 戻り値

```
string
```

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