A method of controlling a light fixture comprising at least one light source emitting light having a spectral characteristic, a first color filter, a second color filter and a third color filter, each color filter has a predetermined spectral filter characteristic which gradually increases across said color filter, said color filters are independently movable and can be arranged in a number of different positions in relation to one another and in relation to said light, said method comprises the steps of: - receiving at least one color parameter relating to the position of said color filters and at least one color temperature parameter relating to the color temperature of said light emitted by said light source; - obtaining a resulting color of said light based on said color parameter, said color temperature parameter and said predetermined spectral filter characteristics of said color filters; - obtaining color filter position parameters indicating the position of said color filters in relation to said light based on said resulting color, said predetermined characteristics of said color filters and said spectral characteristic of said light emitted by said light source; - arranging said color filters in relation to one another and in relation to said light based on color filter parameters, wherein said step of obtaining color filter position parameters indicating the position of said color filters in relation to said light comprises the steps of: - setting one of said first, second or third filter position parameter to zero; - obtaining the other two filter position parameters based on said resulting color, said predetermined spectral filter characteristics of said color filters and said predetermined spectral characteristics of said light emitted by said light source; - determining if said obtained other two filter position parameters are physical achievable; and - if said obtained other two filter position parameters are physical achievable proceed to said step of arranging said color filters in relation to one another and in relation to said light; or - if at least one of said obtained other two filter position parameters are not physical achievable repeat said step of setting one of said first, second or third filter position parameter to zero by setting a different filter position parameter to zero and repeating said step of obtaining the other two filter position parameters using a different pair of other filter position parameters. - receiving at least one color parameter relating to the position of said color filters and at least one color temperature parameter relating to the color temperature of said light emitted by said light source; - obtaining a resulting color of said light based on said color parameter, said color temperature parameter and said predetermined spectral filter characteristics of said color filters; - obtaining color filter position parameters indicating the position of said color filters in relation to said light based on said resulting color, said predetermined characteristics of said color filters and said spectral characteristic of said light emitted by said light source; - arranging said color filters in relation to one another and in relation to said light based on color filter parameters, - setting one of said first, second or third filter position parameter to zero; - obtaining the other two filter position parameters based on said resulting color, said predetermined spectral filter characteristics of said color filters and said predetermined spectral characteristics of said light emitted by said light source; - determining if said obtained other two filter position parameters are physical achievable; and - if said obtained other two filter position parameters are physical achievable proceed to said step of arranging said color filters in relation to one another and in relation to said light; or - if at least one of said obtained other two filter position parameters are not physical achievable repeat said step of setting one of said first, second or third filter position parameter to zero by setting a different filter position parameter to zero and repeating said step of obtaining the other two filter position parameters using a different pair of other filter position parameters.