I\'m having problems converting colours from RGB to LAB space It should be straight forward using the formulas from here, only I\'m getting back the wrong values
I'm pretty sure ^ is bitwise xor in javascript not a power operator. I think Math.pow is what you are looking for.
^
Math.pow