Skip to main content

Function: solid()

solid(color, background?): string

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

The opaque #rrggbb a hex color shows as over background: a translucent color is alpha-composited onto it.

Parameters​

color​

string

background?​

string = "#ffffff"

Returns​

string