#89·pastel

Add "pastel set luminance"

Author: sharkdpCreated Sep 2, 2019Updated Aug 2, 2026
Labelsenhancementgood first issue

This is not as straightforward to implement like the rest of the properties. The way this should be implemented is probably by (only) adjusting the Lightness channel in Lab space until the luminance has the right value.

If there is no direct way to compute the correct L value, we could also perform a (binary) search in L space until we have the right luminance value.