color-diff

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.

OTHER License

Downloads
638.3K
Stars
356
Committers
8

Bot releases are visible (Hide)

color-diff - converted to esm Latest Release

Published by markusn over 1 year ago

converted to esm module, cjs backwards compatible using rollup

color-diff - Some modernization

Published by markusn over 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
color-diff -

Published by markusn over 4 years ago

Allow lowercase r, g, b in RGB object.

color-diff -

Published by markusn over 7 years ago

Performance improvements and expose raw Lab functions for better performance.