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
I could be overlooking something, but I couldn't find any examples of setting alpha from an existing color, and the workarounds I've tried didn't work very well.
I tried mixing with white / black / grey with an opacity of 50%, but it results in colors being inaccurate
pastel mix "$(pastel color red)" "$(pastel color #FFFFFF80)"
pastel mix "$(pastel color red)" "$(pastel color #00000080)"
pastel mix "$(pastel color red)" "$(pastel color #80808080)"
Also looked for a color that might not have a direct color value, like transparent or clear, but these don't exist either.
I realize this is could be a pain to implement, so I just wanted to make an issue for it to check if this is something you plan to look into / would accept a PR for, or if this is more work than it's worth. Also if there's a workaround I don't know of, please let me know.
The text was updated successfully, but these errors were encountered:
Thank you for the report. It's been a while since I worked on this code base, to be honest. I think there is no way to do this, but I agree that pastel set alpha is something that should work. I would hope that it is easy to implement.
I could be overlooking something, but I couldn't find any examples of setting
alpha
from an existing color, and the workarounds I've tried didn't work very well.Example of desired functionality:
I tried mixing with white / black / grey with an opacity of 50%, but it results in colors being inaccurate
Also looked for a color that might not have a direct color value, like
transparent
orclear
, but these don't exist either.I realize this is could be a pain to implement, so I just wanted to make an issue for it to check if this is something you plan to look into / would accept a PR for, or if this is more work than it's worth. Also if there's a workaround I don't know of, please let me know.
The text was updated successfully, but these errors were encountered: