Search results

9 packages found

ac-colors is a reactive JavaScript color library that can freely convert between RGB, HSL, HEX, XYZ, LAB, LCHab, LUV, and LCHuv, as well as handle random color generation and contrast ratio calculation.

published 1.4.3 3 years ago
M
Q
P

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

published 1.0.3 4 months ago
M
Q
P

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

published 0.2.1 5 years ago
M
Q
P

Utility functions for working with colors in adherence to WCAG 2.1 guidelines.

published 1.0.5 8 months ago
M
Q
P

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

published 0.3.1 5 years ago
M
Q
P

Calculate contrast ratio between two CSS color strings.

published 0.2.1 5 years ago
M
Q
P

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

published 3.0.0 3 years ago
M
Q
P

SafeColor generates accessible colors that compiles with WCAG success criteria 1.4.3 (or any contrast ratio of your choice). It can generate either a random color that is contrast safe with a given color, or a consistent color for a given string.

published 1.0.1 5 years ago
M
Q
P

Contrast Correct allows you to take arbitrary colors and modify them to be increase their contrast against any background.

published 1.1.0 6 years ago
M
Q
P