A color variable light-emitting device, comprising: an array of a plurality of light-emitting diodes (2, 3, 4) formed on one highly resistive substrate and which are one integral part by the common substrate, said array comprising at least a first set of at least one light-emitting diode arranged to provide light of a first color, a second set of at least one light-emitting diode arranged to provide light of a second color and a third set of at least one light-emitting diode arranged to provide light of a third color; and a sub-mount on which said substrate including said array is arranged, said sub-mount being provided with a circuitry (21, 22, 23), to which said array of light-emitting diodes is connected, wherein each light-emitting diode in said array has a separate connection to said circuitry; at least one of said sets comprises at least two light-emitting diodes, interconnected in series via said circuitry; said circuitry comprises external connectors (7, 17, 8, 18, 9, 19) to independently address at least one of said at least first, second and third sets; wherein the light-emitting diode(s) of said first set is provided with a first wavelength-converting compound arranged to convert light emitted by said diode(s) into light of said first provided color, and the light-emitting diode(s) of said second set is provided with a second wavelength-converting compound arranged to convert light emitted by said diode(s) nto light of said second provided color; wherein said wavelength-converting compound is arranged in optical contact with said light-emitting diode(s) and wherein walls are provided around each light-emitting diode of the array, thereby providing wells in which the wavelength-converting compounds is arranged. an array of a plurality of light-emitting diodes (2, 3, 4) formed on one highly resistive substrate and which are one integral part by the common substrate, said array comprising at least a first set of at least one light-emitting diode arranged to provide light of a first color, a second set of at least one light-emitting diode arranged to provide light of a second color and a third set of at least one light-emitting diode arranged to provide light of a third color; and a sub-mount on which said substrate including said array is arranged, said sub-mount being provided with a circuitry (21, 22, 23), to which said array of light-emitting diodes is connected, wherein each light-emitting diode in said array has a separate connection to said circuitry; at least one of said sets comprises at least two light-emitting diodes, interconnected in series via said circuitry; said circuitry comprises external connectors (7, 17, 8, 18, 9, 19) to independently address at least one of said at least first, second and third sets; wherein the light-emitting diode(s) of said first set is provided with a first wavelength-converting compound arranged to convert light emitted by said diode(s) into light of said first provided color, and the light-emitting diode(s) of said second set is provided with a second wavelength-converting compound arranged to convert light emitted by said diode(s) nto light of said second provided color; wherein said wavelength-converting compound is arranged in optical contact with said light-emitting diode(s) and wherein walls are provided around each light-emitting diode of the array, thereby providing wells in which the wavelength-converting compounds is arranged.