Skip to content

Function: isLightColor() ​

ts
function isLightColor(color): boolean;

Defined in: colorThemes.ts:527

Whether a colour reads as light, as the web measures --background to pick its light adjustments.

Parameters ​

ParameterType
colorstring

Returns ​

boolean

Released under the GNU Affero General Public License v3.0.