picking dominant color from image