Fixed rgb2hsl for grayscale colors