detect certain color from an image