Skip to main content

Function: analogous()

analogous(color, angle?): [Color, Color, Color]

Generates an analogous color harmony.

Parameters

ParameterTypeDefault valueDescription
colorColorundefinedThe base color.
angle?number30The angle between colors (default: 30 degrees).

Returns

[Color, Color, Color]

An array containing the base color and two analogous colors.

Defined in

harmony/components/analogous.ts:10