Color error represents real color reproduction ability on survelliance image within different color temperature. However,testing method in lab is reference-based and high demanded,which can not be applied for real image survelliance system. An illumination estimation of color check-check chart is obtained in lab. Meanwhile,color error value also is computed. A machine-learning method is used for compute the training model for illumination and color error value. Finally,we get color error value for real surveillance image through image illumination estimation and trained model.