# groupHueOf

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

@shumoku/core · 0.6.1 · function

# groupHueOf

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

The hue a group is drawn in: one of the hues the tone tells apart, picked by its id (FNV-1a), so it needs nothing but the group and is the same wherever the group is drawn.

```
groupHueOf(tone: GroupTone, id: string): number
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `tone` | `GroupTone` | No additional description. | `—` |
| `id` | `string` | No additional description. | `—` |

## Returns

```
number
```

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