Implemets the CIEDE2000 color difference algorithm, conversion between RGB and LAB color and mapping all colors in palette X to the closest or most different color in palette Y based on the CIEDE2000 difference.
Return the closest element matching a selector up the DOM tree
Compare your item to items in an array and get the closest one.