How to get the gray value of a color in lab space? I\'m looking for a formula or algorithm to determine the equivalent gray value of a color given the LAB values.