Pictures taken with most camera flashlights are often considered unnatural looking due to a mismatch of the illuminance and color temperature between the flash light and the ambient light in the scene. Subsequently, image rendering software is used to enhance the picture to a desirable look or several pictures must be taken attempting a better capture. A smart light system has been developed, incorporating LED sources and a sensor, that studies the lighting environment and decides optimal light for specific applications. By measuring one or more characteristics of the existing light, one or more attributes of the flash light may be selected or changed, and then combined with the existing light to provide a combined light which locally or globally provides, for example, an optimized spectral power distribution that is adjustable to individual preferences or to specified characteristics, where the spectral power distribution may be achieved by choosing a prescribed range of color quality indexes andor correlated color. The color quality indexes may include statistical color quality metrics (SCQM) andor a color rendering index (CRI) implemented with indexes of S (saturation) or D (dulling), in which the SCQM may be a set of metrics including a color fidelity index (CFI), a color saturation index (CSI), a color dulling index (CDI) and a hue distortion index (HDI). This intelligent, optimized, flexible, spectral power distribution LED light system can be integrated into currently used devices (smart phones, tablets, traditional flashlights, etc.) to produce favorable images and light casting. Additionally, it can be applied to LED lamp and panel daylight augmentation systems for gloomy days and LED lamp augmenting ambient fluorescent light to create alert lighting in a working environment.