In the image below, I created colors based on the original color and the above list of luminance values in two ways:
Using chroma.luminance()
Manipulating the 'lightness' value for the color in the HSL color space such that the resulting color matched the desired luminance.
(Just to be clear, I know that lightness value of HSL color space is different from relative luminance.)
Both scales have the same luminance values. But as you can see, the colors generated using chroma.luminance() are desaturated. Is that by design? If so, why?
I was working on generating color scales with specific luminance values, during which I found that the luminance function desaturates colors.
For example, I have the following luminance values that I want in my color scale:
In the image below, I created colors based on the original color and the above list of luminance values in two ways:
Both scales have the same luminance values. But as you can see, the colors generated using chroma.luminance() are desaturated. Is that by design? If so, why?