Pure Sass HUSL implementation.
This package attempts to match the canonical implementation as closely as possible, but not break sass best practices and common patterns. Important deviations include
- RGB color components range from 0 to 255, not 0 to 1
- Testing precision is lowered significantly
Some docs for you to read.
npm install hsluv-sass
Tested with apexskier's bootcamp. Continuous integration tests run in the last few versions of ruby sass and node-sass.
You can locally test after installing npm dependencies. Just compile
test/specs.scss with your favorite sass compiler. If it fails on master, add
your compiler to the travis config and
submit a PR or raise an issue.
Have a question or need help? Tweet @apexskier.
This project is provided under the terms of the MIT License.