In this paper, a new color edge detector ColorRoberts is presented after analyzing the status of current color edge detection methods and the social requirement to text extraction under complex background. ColorRoberts operates on the whole color space RGB. For text extraction under complex background, it shows that ColorRoberts is better than those classical edge detectors. The detected text edges are clear, integrated and easy to separated form the background.