You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
sschuldenzucker
changed the title
'set' for HSV properties
'set' and relative operations for properties in HSV space
Dec 2, 2024
pastel set
doesn't support properties of HSV space and there is no operation that supports relative changes in HSV space (darken
anddesaturate
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 topastel color
, so it should be pretty straightforward.The text was updated successfully, but these errors were encountered: