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

'set' and relative operations for properties in HSV space #240

Open
sschuldenzucker opened this issue Dec 2, 2024 · 0 comments
Open

'set' and relative operations for properties in HSV space #240

sschuldenzucker opened this issue Dec 2, 2024 · 0 comments

Comments

@sschuldenzucker
Copy link

pastel set doesn't support properties of HSV space and there is no operation that supports relative changes in HSV space (darken and desaturate operate in HSL)

I've been looking for this b/c I've found it quite convenient to reduce V while keeping H and S the same to create darker / hierarchically subordinate versions of a given color for UI text.

pastel already supports this "manually" using pastel format hsv, manually changing the result and reading it back in to pastel color, so it should be pretty straightforward.

@sschuldenzucker sschuldenzucker changed the title 'set' for HSV properties 'set' and relative operations for properties in HSV space Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant