1. Method of configuring a lighting system comprising a set of at least 3 light sources (Li) with different spectra (Si(?)), including a step of automatically determining the intensities (?i) of each of the light sources of said set by minimising a distance between a reference spectrum (SR(?)) and a synthetic spectrum (SS(?)) determined by the sum of the spectra (Si(?)) of each source (Li) of said set weighted by said intensities (?i) in which said distance is calculated between a perception (PR,j(?)) corresponding to said reference spectrum and a perception (Pj(?)) corresponding to said synthetic spectrum, said perceptions being considered on a set of detectors (j) of a given observer.