# hueOf

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

@shumoku/core · 0.5.0 · function

# hueOf

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

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

A colour's OKLCH hue, in degrees.

```
hueOf(hex: string): number
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `hex` | `string` | 追加説明はありません。 | `—` |

## 戻り値

```
number
```

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