Bug 463702

Summary: The accent color picked from wallpaper should take window background color into account
Product: [Applications] systemsettings Reporter: Akseli Lahtinen <akselmo>
Component: kcm_colorsAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: kde, nate, noahadvs, tantalising007, uhhadd
Priority: NOR Keywords: usability
Version: 5.26.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=442820
Latest Commit: Version Fixed In:

Description Akseli Lahtinen 2023-01-01 19:20:02 UTC
SUMMARY

This is more an accessibility thing, but when using picking accent color from wallpaper setting, the accent color should also take the window background color into account. Like mentioned here, there should be 4.5:1 ratio between foreground and background color for accessibility reasons: https://randoma11y.com/

Of course, there will always be color combinations that just do not work. But keeping good contrast between accent and background color should help a lot. At the very least, it would keep items readable even if the accent color is not desirable.

https://randoma11y.com/?color=%23202020 For example, this gray is my background color. The color picking method should use that background color and calculate a proper accent color that keeps a good contrast between background and foreground.

No idea if something like this is already in the works so here's my system information.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.15-300.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

I could also look into this. :)
Comment 1 Nate Graham 2023-01-06 21:40:45 UTC
We used to, but people complained a lot about it. See Bug 442820. However it's possible the implementation was to blame, rather than the concept per se. We can revisit it.