@shumoku/core · 0.5.0 · function
lineColors
`count` colours of a tone, as `#rrggbb`: hues evenly spaced from the tone's, at the least chroma that keeps them told apart. `undefined` when the tone has no room for that many.
lineColors(tone: LineTone, count: number): string[] | undefined Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
tone | LineTone | No additional description. | — |
count | number | No additional description. | — |
Returns
string[] | undefined libs/@shumoku/core/src/libs/@shumoku/core/src/themes/tone.ts:43