fixed hsv and hls crashes when getting hex val