Skip to main content

Function: monochromatic()

monochromatic(color, count?): Color[]

Generates a monochromatic color harmony.

Parameters

ParameterTypeDefault valueDescription
colorColorundefinedThe base color.
count?number5The number of colors to generate (default: 5).

Returns

Color[]

An array containing the base color and additional monochromatic colors.

Defined in

harmony/components/monochromatic.ts:10