Skip to content

Function: splitComplement() ​

ts
function splitComplement(color): [Color, Color, Color];

Defined in: splitComplement.ts:11

Returns the split-complement color harmony for the given color.

Parameters ​

ParameterTypeDescription
colorColorthe base color

Returns ​

[Color, Color, Color]

a tuple of [original, hue+150, hue+210]