A standalone color picker for Wayland and KDE Plasma.
Although Wayland has come a long way since its inception, there are still not many implementations for a color picker. Current existing solutions either use grim under the hood, which in turn uses wlr-screencopy-unstable-v1, or simply do not work on KDE Plasma. wl-colorpicker-plasma
is a stripped-down version of kdeplasma-addons colorpicker widget, and thus works in KDE PLasma as intended.
Since wl-colorpicker-plasma
only returns the color picked as a hex value, you will need to copy the value separately as in the example below (note: this requires wl-clipboard to be installed on your system):
python3 wl-colorpicker-plasma.py | wl-copy