The new encryption algorithm for digital color image is proposed.The image can be encrypted through encryption matrixes generated with Logistic chaotic sequences to eXclusive OR(XOR) color matrixes many times.The R,G and B components of the color image can be treated randomly and encrypted image becomes more uniform.Because the chaotic sequences are extremely sensitive to the parameters and the initial values,even if the encryption algorithm is open.Without the right key,the useful information can not be got.The encryption key length is effectively enlarged by using multiple sets of parameter of the branch and initial value as the encryption key.The experiments confirm its validity.