fixed an issue with input parsing in namedcolorpicker