@shumoku/core · 0.6.1 · function
colorDistance
APIの説明は英語のcanonical sourceを表示しています。
How different two colours look: their OKLab distance, in which `OK_JND` is just noticed.
colorDistance(p: string, q: string): number パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
p | string | 追加説明はありません。 | — |
q | string | 追加説明はありません。 | — |
戻り値
number libs/@shumoku/core/src/libs/@shumoku/core/src/themes/tone.ts:118