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

Support Transparent Colors #40

Open
kingkool68 opened this issue Aug 16, 2023 · 0 comments · May be fixed by #41
Open

Support Transparent Colors #40

kingkool68 opened this issue Aug 16, 2023 · 0 comments · May be fixed by #41

Comments

@kingkool68
Copy link
Owner

It would be cool to be able to specify a transparency for the background and text color. This could work using 8-digit hex color codes that include values about the alpha transparency of the color. See https://www.quackit.com/css/color/values/css_hex_color_notation_8_digits.cfm#:~:text=Eight%2Ddigit%20hex%20notation%20consists,alpha%20chanel%20of%20the%20color.&text=The%20RR%20represents%20the%20red,GG%20represents%20the%20green%20component.

PHP has a function called imagecolorallocatealpha() for specifying RGB colors with an alpha value.

Related #21

@kingkool68 kingkool68 linked a pull request Aug 16, 2023 that will close this issue
3 tasks
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

Successfully merging a pull request may close this issue.

1 participant