Table of Contents

**@arolariu/components**


@arolariu/components / getComplementaryColor

Variable: getComplementaryColor()

const getComplementaryColor: (hexColor) => string = calculateComplementaryHexColor

Defined in: lib/color-conversion-utilities.ts:161

Generates the complementary (inverse) color for a given hex color.

Parameters

hexColor

string

Hex color code

Returns

string

Complementary hex color code

Deprecated

Use calculateComplementaryHexColor instead