filter out black and white edge colors