{'fraction_non_alphanumeric': 0.013921113689095127, 'fraction_numerical': 0.0069605568445475635, 'mean_word_length': 5.221153846153846, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Lighting spectra for the maximum colorfulness

The advent of modern solid-state sources enabled almost any spectrum for lighting and a wide range of possibilities in color rendering. The quality of the lighting has been typically evaluated by the color rendering index which measures how much the colors of objects illuminated by the light under test look similar to those produced when the objects are illuminated by the daylight or a conventional incandescent light. On the other hand, how colorful or vivid the colors under the illumination are perceived is also an important quality to evaluate lighting. We investigated, computationally, the spectral profiles of the illumination that maximizes the theoretical limit of the perceivable object colors. A large number of metamers with various degree of smoothness were generated using the Schmitt's elements method at chromaticity points on and around the Planckian locus ranging from 2,222 K to 20,000 K. The general color rendering index (CRI) and MacAdam volumes in CIELAB color space were calculated for each metamer. The metamers maximizing the CRI had smoother spectra than the metamers maximizing the MacAdam volume. These results show that maximum colorfulness in nature can only be obtained with spectrally non-smooth illumination.