Skip to content

Function: complement() ​

ts
function complement(color): Color;

Defined in: complement.ts:9

Parameters ​

ParameterType
colorColor

Returns ​

Color

the complement of the given color (hue rotated 180°).