An electronic device to remove unwanted hair on a target area, comprising: a LED unit that includes at least two LEDs that emit light with different wavelengths from each other wherein the LED unit is configured to emit light with wavelengths of 694nm, 790nm, 808nm, 810nm, 850nm/945nm or 1064nm. a skin type detector including a light source and a photoreceptor, that detects a skin type of a target area; and a LED driver that electrically communicates with the skin type detector and transmits power to the LED unit through a plurality of separate output channels, wherein peak wavelengths of the LEDs range from 600nm - 1200nm, and each of the two LEDs in the LED unit is independently powered by one of the separate output channels, wherein the skin type detector, upon receiving a signal from the LED driver, detects the skin type by illuminating the light source on the skin surface of the target area, and reading its reflection light with the photoreceptor, according to the reflected light, the skin type detector generates a signal of the skin type to the LED driver, based on the received signal, the LED driver powers suitable type of LED in the LED unit for following hair removing process to achieve better results and avoid side effects, the electronic is configured to classify the skin types using Fitzpatrick skin classifications, and to apply the LEDs emitting light with wavelengths of 694nm, 790nm, 808nm, 810nm, 850nm/945nm or 1064nm to skin type I, II, III, IV, V and VI, respectively and the two LEDs are powered with a current pulse of 1A - 5A, a pulse width of 20ms - 400ms, and an off time period of 0.5 - 10 second (s). a LED unit that includes at least two LEDs that emit light with different wavelengths from each other wherein the LED unit is configured to emit light with wavelengths of 694nm, 790nm, 808nm, 810nm, 850nm/945nm or 1064nm. a skin type detector including a light source and a photoreceptor, that detects a skin type of a target area; and a LED driver that electrically communicates with the skin type detector and transmits power to the LED unit through a plurality of separate output channels, wherein peak wavelengths of the LEDs range from 600nm - 1200nm, and each of the two LEDs in the LED unit is independently powered by one of the separate output channels, wherein the skin type detector, upon receiving a signal from the LED driver, detects the skin type by illuminating the light source on the skin surface of the target area, and reading its reflection light with the photoreceptor, according to the reflected light, the skin type detector generates a signal of the skin type to the LED driver, based on the received signal, the LED driver powers suitable type of LED in the LED unit for following hair removing process to achieve better results and avoid side effects, the electronic is configured to classify the skin types using Fitzpatrick skin classifications, and to apply the LEDs emitting light with wavelengths of 694nm, 790nm, 808nm, 810nm, 850nm/945nm or 1064nm to skin type I, II, III, IV, V and VI, respectively and the two LEDs are powered with a current pulse of 1A - 5A, a pulse width of 20ms - 400ms, and an off time period of 0.5 - 10 second (s).