sharkdp/pastel

Add "pastel set luminance"

Open

#89 aperta il 2 set 2019

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (127 fork)github user discovery
enhancementgood first issue

Metriche repository

Star
 (6392 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor