The Wayback Machine - https://web.archive.org/web/20201216185337/https://github.com/sharkdp/pastel/issues/89
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "pastel set luminance" #89

Open
sharkdp opened this issue Sep 2, 2019 · 0 comments · May be fixed by #105
Open

Add "pastel set luminance" #89

sharkdp opened this issue Sep 2, 2019 · 0 comments · May be fixed by #105

Comments

@sharkdp
Copy link
Owner

@sharkdp sharkdp commented Sep 2, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.