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

Picker changes some RGB colors #167

Open
robin-kestrel opened this issue Dec 19, 2024 · 1 comment
Open

Picker changes some RGB colors #167

robin-kestrel opened this issue Dec 19, 2024 · 1 comment

Comments

@robin-kestrel
Copy link

robin-kestrel commented Dec 19, 2024

For example, put in #00daff, and it immediately changes it to #01daff:

oklch-00daff.mov

Some other examples I've found:

#ffff00 ⟶ #ffff01
#ffff01 ⟶ #ffff02
#ffff02 ⟶ #ffff03
#ffff04 ⟶ #ffff05

(#ffff03 and #ffff05 remain stable, however.)

@robin-kestrel robin-kestrel changed the title Picker cannot comprehend #00daff Picker changes some RGB colors Dec 19, 2024
@ai
Copy link
Member

ai commented Dec 19, 2024

This is a problem of math precision and rounding.

I will try to improve algorithm.

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

No branches or pull requests

2 participants