GrayscaleOptions
type GrayscaleOptions = { hue: number; shade?: -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4; tint: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;};
Controls the grayscale palette derived from the given hue.
Properties
Section titled “Properties”hue: number;
Hue in degrees (0–360).
shade?
Section titled “shade?”optional shade: -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4;
Optional shade adjustment applied to the palette.
tint: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
Tint step applied to the grayscale palette.