Skip to content

Function: analogous() ​

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

Defined in: analogous.ts:11

Returns the analogous color harmony for the given color.

Parameters ​

ParameterTypeDescription
colorColorthe base color

Returns ​

[Color, Color, Color]

a tuple of [original, hue+30, hue-30]