@peterdekok/color-compare
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Color compare

Compare colors to one another. Especially useful for validating color input fields.

The goal of this package is to allow colors to be dynamically evaluated.

This uses implementations compliant with the CSS3 composition and (normal) blending specification. As well as the WCAG2.1 conformation of determining color contrast.

Package Sidebar

Install

npm i @peterdekok/color-compare

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

52 kB

Total Files

8

Last publish

Collaborators

  • peterdk