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

Initializing color in gl space without alpha gives unexpected results #301

Open
pohlt opened this issue Aug 6, 2022 · 0 comments
Open
Labels

Comments

@pohlt
Copy link

pohlt commented Aug 6, 2022

Observations:

  • No alpha value for gl seems to be fine: chroma(0.5, 0.5, 0.8, "gl") = #8080cc (expected)
  • Until you use this object: chroma(0.5, 0.5, 0.8, "gl").brighten(1) = 1 (unexpected)
  • Adding an alpha value helps: chroma(0.5, 0.5, 0.8, 1, "gl").brighten(1) = #b1afff (expected)
@gka gka added the bug label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants