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.
converted to esm module, cjs backwards compatible using rollup
Allow lowercase r, g, b in RGB object.
Performance improvements and expose raw Lab functions for better performance.