Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.5.0 · function

toneFits

ソース

APIの説明は英語のcanonical 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

パラメーター

名前 型 説明 既定値
lightness number 追加説明はありません。 —
chroma number 追加説明はありません。 —
backgrounds readonly string[] 追加説明はありません。 —

戻り値

boolean

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