debug stuff.. RGB2HSL seems to be wrong