Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.6.1 · function

groupHueOf

Source

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