npm

33 packages found

M
Q
P

Description

Determine if the given color is light or dark

Keywords

Publisher

published 1.0.14 years ago
M
Q
P

Description

Get the contrast ratio and WCAG score between common CSS color types.

Keywords

Publisher

published 2.0.03 years ago
M
Q
P

Description

evaluate the wcag color contrast score for two colors

Keywords

Publisher

published 2.1.17 months ago
M
Q
P

Description

Create ARIA-compliant color themes based on a predominant color palette.

Keywords

Publisher

published 1.1.16 months ago
M
Q
P

Description

Calculate contrast ratio between two CSS color strings.

Keywords

Publisher

published 0.1.47 months ago
M
Q
P

Description

JavaScript Library for Setting Text Color According to Background-Color

Keywords

Publisher

published 1.0.25 months ago
M
Q
P

Description

Calculate the color in an array of colors that gives the highest contrast to another color.

Keywords

Publisher

published 0.2.27 months ago
M
Q
P

Description

This is an accessibility validator based on WCAG 2.0 standard for checking the color contrast.

Keywords

Publisher

published 1.5.03 months ago
M
Q
P

Description

Convert CSS color strings to RGBA and check whether they are light or dark

Keywords

Publisher

published 1.0.0a year ago
M
Q
P

Description

Generate the nearest accessible color.

Keywords

Publisher

published 2.0.4a month ago
M
Q
P

Description

Create more natural color contrasts

Keywords

Publisher

published 1.0.04 years ago
M
Q
P

Description

Random color is a simple javascript module for generating random colors that contrast enough to distinguish between one another, and are not too loud (by default, all colours can have readable black/dark font overlayed).

Keywords

Publisher

published 1.0.12 years ago
M
Q
P

Description

Given a color, it picks a pleasing and well contrasted background and foreground colors

Keywords

Publisher

published 1.3.62 years ago
M
Q
P

Description

lookup table color transforms for glslify

Keywords

Publisher

published 1.1.15 months ago
M
Q
P

Description

test whether a color is dark or light

Keywords

Publisher

published 1.0.44 years ago
M
Q
P

Description

Color constrast helpers to achieve the WCAG 2.0 standard

Keywords

Publisher

published 1.1.0a month ago
M
Q
P

Description

NodeJS module using brain.js to tell you if your font should be light or dark

Keywords

Publisher

published 1.2.13 months ago
M
Q
P

Description

Evaluate if a to colors have sufficient contrast to pass WCAG requirements.

Keywords

Publisher

published 0.1.17 months ago
M
Q
P

Description

NodeJS module to use black or white font according to the given background color

Keywords

Publisher

published 1.0.33 years ago
M
Q
P

Description

Color UIs by specifying colors relatively (using HCL, a perceptually accurate color model)

Keywords

Publisher

published 1.0.0-alpha.03 months ago