Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.5.0 · function

toneFits

Source

Whether every hue of a lightness and chroma is shown by a screen and seen against every background, checked every few degrees.

toneFits(lightness: number, chroma: number, backgrounds: readonly string[]): boolean

Parameters

Parameter Type Description Default
lightness number No additional description. —
chroma number No additional description. —
backgrounds readonly string[] No additional description. —

Returns

boolean

libs/@shumoku/core/src/libs/@shumoku/core/src/themes/tone.ts:67