rainbow function
Saturated linear RGB hues from red to violet, `count` of them, for light split into bands.
import { rainbow } from '@dioramajs/text/prism'function rainbow(count: number): [number, number, number][]Parameters
| Name | Type | Description |
|---|---|---|
count | number |
Defined in packages/text/src/prism.ts.