Skip to main content

Function: onColor()

onColor(background): string

Defined in: packages/sdvplot/src/contrast.ts:39

Black or white, whichever reads better on background.

Parameters​

background​

string

Returns​

string