A color detection method, wherein the method comprises: obtaining, by a terminal, a light source color temperature and scene brightness that are used during imaging of a to-be-detected image; selecting, by the terminal, a reference color card image from a preset reference color card data set based on the obtained light source color temperature and a correspondence between a light source color temperature used during imaging of the reference color card image and the reference color card image, wherein the reference color card data set stores a plurality of reference color card images and related parameter information used during imaging of each reference color card image; determining, by the terminal, target image brightness of the to-be-detected image based on the scene brightness used during imaging of the to-be-detected image and based on a preset functional relationship between image brightness and scene brightness; adjusting, by the terminal, brightness of the selected reference color card image to the target image brightness, and using an adjusted reference color card image as a calibration color card image; and calibrating, by the terminal, the to-be-detected image based on a prestored relationship between a color of a standard color card image and a color of the calibration color card image, and determining a color value of a calibrated to-be-detected image, the calibrating the to-be-detected image comprising determining color calibration information based on a color value of a color block in each same position of the prestored standard color card image and the calibration color card image, where the color calibration information is used to represent a mapping relationship between a color value of the standard color card image and a color value of the calibration color card image; calibrating the color of the to-be-detected image based on the color calibration information. obtaining, by a terminal, a light source color temperature and scene brightness that are used during imaging of a to-be-detected image; selecting, by the terminal, a reference color card image from a preset reference color card data set based on the obtained light source color temperature and a correspondence between a light source color temperature used during imaging of the reference color card image and the reference color card image, wherein the reference color card data set stores a plurality of reference color card images and related parameter information used during imaging of each reference color card image; determining, by the terminal, target image brightness of the to-be-detected image based on the scene brightness used during imaging of the to-be-detected image and based on a preset functional relationship between image brightness and scene brightness; adjusting, by the terminal, brightness of the selected reference color card image to the target image brightness, and using an adjusted reference color card image as a calibration color card image; and calibrating, by the terminal, the to-be-detected image based on a prestored relationship between a color of a standard color card image and a color of the calibration color card image, and determining a color value of a calibrated to-be-detected image, the calibrating the to-be-detected image comprising determining color calibration information based on a color value of a color block in each same position of the prestored standard color card image and the calibration color card image, where the color calibration information is used to represent a mapping relationship between a color value of the standard color card image and a color value of the calibration color card image; calibrating the color of the to-be-detected image based on the color calibration information.