The invention discloses a method for determining the content of pigments in mixed 
pigment solutions by adopting three-dimensional 
fluorescence spectroscopy combined with the PARAFAC (parallel 
factor analysis) 
algorithm. According to the method, firstly, a correction sample set is formed by preparing multiple mixed 
pigment solutions according to different concentrations, then three-dimensional 
fluorescence spectra of the correction sample set and the background are measured, measured signals are pre-processed, a three-dimensional 
data matrix after pre-
processing is analyzed with the PARAFAC 
algorithm, a correction model is established according to an analysis result, and the content of the pigments in unknown samples is predicted with the correction model. The method overcomes the defects of tedious process, time consumption of detection, higher detection cost and the like of a traditional chemical detection method, the concentration of each 
pigment in the to-be-detected samples can be determined rapidly, the method has the advantages of rapidness, safety, reliability, simple operation, lower cost and the like, 
technical support is provided for determination of synthetic edible pigments in food, and supervision of the 
food industry and protection of 
consumer interests are facilitated.