Skip to main content

Function: invertColor()

invertColor(color): string

Defined in: src/utils/color.ts:148

Return the linearly inverted color (1 - channel). Ports invert_color.

Parameters​

color​

string

Returns​

string