Color Diff Versions Save

Implemets the CIEDE2000 color difference algorithm, conversion between RGB and lab color and mapping all colors in palette X to the closest color in palette Y based on the CIEDE2000 difference.

v1.4.0

11 months ago

converted to esm module, cjs backwards compatible using rollup

v1.3.0

1 year ago
  • don't support mixing casing for r,g,b properties, either all upper or all lower
  • use camelCase instead of snake_case
  • snake_case -> camelCase mappings are still present to not break more dependents than necessary.
  • fixed jsdoc types and type checking using tsc
  • only run tests on node > 18
  • no more travis, use github actions
  • bumped all deps
  • added linting

v1.2.0

4 years ago

Allow lowercase r, g, b in RGB object.

v1.1.0

7 years ago

Performance improvements and expose raw Lab functions for better performance.