invert color LUT function
cleanup