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

[Feature Request] Accent colors #158

Open
leoheck opened this issue Mar 24, 2022 · 2 comments
Open

[Feature Request] Accent colors #158

leoheck opened this issue Mar 24, 2022 · 2 comments

Comments

@leoheck
Copy link

leoheck commented Mar 24, 2022

It would be really nice to have an option to adjust desktop's accent color based on the wallpaper.

@neffo
Copy link
Owner

neffo commented May 10, 2022

How would the accent colors be best determined? Is there another extension (or app) that has implemented this?

@leoheck
Copy link
Author

leoheck commented May 10, 2022

I think there might be a bunch of methods. I would say that this is some kind of art. But if I was implementing this on the first try I would check the colors used on each pixel of the image. Then I would sort colors by the number of occurrences. The colors with more occurrences would-be candidates for the selected accent. Then you could have the policy to select a color that drops colors black-ish and white-ish colors if they are on top of the list.

You could use websites like this to check if this method makes sense.
https://brandfolder.com/workbench/color-palette
http://colormind.io/image/

Another idea would be checking how Android 12 does that. It has a similar feature.

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

No branches or pull requests

2 participants