improved selection, find and replace colors