added preliminary steps toward hsv and hls mode, needs *heavy* tweaking tho