Remove duplicate colors from color history in color editor