working color segmentation