Interface GetColorsOptions

interface GetColorsOptions {
    minValueFactor?: number;
    nbShades?: number;
}

Properties

minValueFactor?: number

Factor between 0 and 1 by which to multiply the maximal value of the color to obtain the minimum value.

Default

0.2

nbShades?: number

Number of shades to generate.

Default

6