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

Fail to set custom background's alpha channel to 0 #292

Open
wangyuyy opened this issue May 31, 2023 · 0 comments
Open

Fail to set custom background's alpha channel to 0 #292

wangyuyy opened this issue May 31, 2023 · 0 comments

Comments

@wangyuyy
Copy link

I tried to set the background's alpha channel to 0 by scene.background = color.from_hexstr('#00000000') but it failed.
I also tried to set the background's color to white by scene.background = color.from_name('white'), it was expected to be (255, 255, 255) for bg color, but it was (205, 205, 205) or (206, 206, 206).
So I wonder how to set the bg's rgba effectively ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant