Skip to content

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages