Skip to content

asmartbear/color

Repository files navigation

Color

Extremely tiny color package (1300 bytes gzipped) for parsing, manipulating, and computing CSS colors.

In particular, supports most of the algorithms needed for WCAG accessibility guidelines, and a swatch algorithm superior to manipulating "lightness."

Development Usage

Build:

npm run build

Unit tests:

npm run test

Unit tests, refreshed live:

npm run watch

Prepare for release (e.g. run tests and bump version number):

npm run release

Publish to npm:

npm publish

About

Extremely tiny CSS color library

Resources

License

Stars

Watchers

Forks

Packages

No packages published