Skip to main content

Function: splitComplementary()

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

Generates a split-complementary color harmony.

Parameters

ParameterTypeDefault valueDescription
colorColorundefinedThe base color.
angle?number30The angle of split (default: 30 degrees).

Returns

[Color, Color, Color]

An array containing the base color and two split-complementary colors.

Defined in

harmony/components/split-complementary.ts:10