Skip to content

About

๐ŸŽจ A beautiful color picker widget for KDE Plasma 6. Click the brush to pick any color on screen โ€“ brush and paint splat take on your color. Color history, HEX/RGB switch, light & dark mode and 9 languages.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ColorBrush โ€“ a beautiful color picker for KDE Plasma 6

Plasma 6 Qt 6 / QML License: GPL v2+ Release

A paint brush and a splat of paint in your panel.
Click the brush to pick any color on screen. Click the splat to see your history.

Features โ€ข Screenshots โ€ข Installation โ€ข Usage โ€ข Languages โ€ข FAQ


Brush bristles and paint splat change to the picked color
The bristles and the splat always take on the color you picked last.

โœจ Features

๐Ÿ–Œ๏ธ One-click picking Click the brush and pick any pixel on your screen, on Wayland and X11.
๐ŸŽจ Living icon The brush bristles and the paint splat fade into your last picked color.
๐Ÿ•˜ Color history Up to 30 recent colors, newest first. Duplicates move to the top instead of piling up.
๐Ÿ” HEX โ‡„ RGB A segmented switch shows every value as #FF2D55 or rgb(255, 45, 85).
๐Ÿ“‹ Instant copy A picked color goes straight to the clipboard. Click any history entry to copy it again.
๐ŸŒ— Light & Dark Follows your Plasma color scheme with a clean, modern look.
๐ŸŒ Speaks your language The UI follows your system language: 9 languages are included.
๐ŸŽ›๏ธ Manual picker Need a color that isn't on screen? Open the color dialog next to the pick button.

๐Ÿ“ธ Screenshots

Light mode, HEX values Dark mode, RGB values
Light ยท HEX values Dark ยท RGB values
German system language with copy confirmation
System language German: the whole UI switches automatically, including the โ€œcopiedโ€ toast.

๐Ÿ“ฆ Installation

Option 1: Add Widgets dialog (recommended)

  1. Download ColorBrush-x.y.z.plasmoid from the latest release.
  2. Right-click your panel โ†’ Add Widgetsโ€ฆ โ†’ Get New Widgets โ†’ Install Widget From Local Fileโ€ฆ
  3. Pick the downloaded file, then search for ColorBrush and drag it into your panel.

Option 2: Terminal

kpackagetool6 -t Plasma/Applet -i ColorBrush-1.3.0.plasmoid

To update later, use -u instead of -i.

Option 3: From source

git clone https://github.com/Swenix-dev/ColorBrush.git
cd ColorBrush
./install.sh

install.sh installs or updates the widget and removes the old pre-release package (ChromaBrush) if it is still there. To remove ColorBrush, run ./uninstall.sh.

Tip

After an update, reload Plasma so the new version is used:

systemctl --user restart plasma-plasmashell

Requirements

Component Notes
KDE Plasma 6.0+ Developed on Fedora 44 with Plasma 6.7
KWin Provides the screen color picker (Wayland and X11)
gdbus Part of glib2, preinstalled on almost every distribution
plasma5support Ships with Plasma 6

๐Ÿ–ฑ๏ธ Usage

Action What happens
Click the brush Starts the color picker right away. Click anywhere on screen; press Esc to cancel.
Click the splat Opens the popup with the current color and your history.
Click a history entry Copies the value in the active format (HEX or RGB).
Hover a history entry Shows buttons to copy or delete that color.
HEX | RGB switch Changes how every value is shown and copied. The choice is remembered.
Palette button Opens a color dialog to add a color by hand.
Right-click the widget Pick color, switch HEX/RGB, or clear the history.

๐ŸŒ Languages

ColorBrush picks its language from your system settings. No configuration is needed.

Language Language Language
๐Ÿ‡ฌ๐Ÿ‡ง English ๐Ÿ‡ฉ๐Ÿ‡ช Deutsch ๐Ÿ‡ซ๐Ÿ‡ท Franรงais
๐Ÿ‡ช๐Ÿ‡ธ Espaรฑol ๐Ÿ‡ฎ๐Ÿ‡น Italiano ๐Ÿ‡ณ๐Ÿ‡ฑ Nederlands
๐Ÿ‡ต๐Ÿ‡ฑ Polski ๐Ÿ‡ง๐Ÿ‡ท Portuguรชs (Brasil) ๐Ÿ‡น๐Ÿ‡ท Tรผrkรงe

If your language is missing, ColorBrush falls back to English. Want to add yours? It only takes a few minutes. See po/README.md, then open a pull request or a translation issue.

โš™๏ธ How it works

ColorBrush is written entirely in QML. To read a pixel from the screen, it asks KWin over D-Bus:

gdbus call --session --dest org.kde.KWin \
  --object-path /ColorPicker --method org.kde.kwin.ColorPicker.pick

KWin shows its crosshair, you click, and KWin returns the color as an ARGB value. ColorBrush converts it to HEX and RGB, stores it in the widget settings and copies it to your clipboard. Nothing leaves your computer.

๐Ÿฉบ Troubleshooting

The popup shows โ€œColor picker failedโ€

Run the D-Bus command from How it works in a terminal. If it prints something like (uint32 4294914389,), KWin works and you should open an issue. If it fails, check that you are running a KWin session (not another window manager).

The widget doesn't load or shows an error

Start it in its own window to see the log:

plasmawindowed org.seaq.colorbrush

Paste the output into a bug report.

The widget is too narrow after updating from ChromaBrush

Remove the old widget from the panel and add ColorBrush again, so Plasma gives it room for both the brush and the splat.

๐Ÿ—‚๏ธ Project structure

ColorBrush/
โ”œโ”€โ”€ package/                      # the plasmoid itself
โ”‚   โ”œโ”€โ”€ metadata.json
โ”‚   โ””โ”€โ”€ contents/
โ”‚       โ”œโ”€โ”€ config/main.xml       # settings: history, HEX/RGB, auto copy
โ”‚       โ”œโ”€โ”€ locale/               # compiled translations (.mo)
โ”‚       โ””โ”€โ”€ ui/
โ”‚           โ”œโ”€โ”€ main.qml          # panel icons, picker logic, clipboard
โ”‚           โ”œโ”€โ”€ FullView.qml      # the popup
โ”‚           โ”œโ”€โ”€ BrushIcon.qml     # vector paint brush
โ”‚           โ”œโ”€โ”€ Splat.qml         # vector paint splat
โ”‚           โ””โ”€โ”€ SegmentedControl.qml
โ”œโ”€โ”€ po/                           # translation sources (.po / .pot)
โ”œโ”€โ”€ scripts/                      # translation helpers
โ”œโ”€โ”€ screenshots/
โ”œโ”€โ”€ build.sh                      # builds ColorBrush-<version>.plasmoid
โ”œโ”€โ”€ install.sh / uninstall.sh
โ””โ”€โ”€ CHANGELOG.md

๐Ÿ› ๏ธ Building a release

./build.sh          # โ†’ ColorBrush-1.3.0.plasmoid

Pushing a tag like v1.3.0 triggers the GitHub Actions workflow, which builds the .plasmoid and attaches it to a new release automatically.

๐Ÿค Contributing

Bug reports, ideas and translations are very welcome. Please use the issue templates. For code changes, fork the repo, create a branch and open a pull request.

๐Ÿ“„ License

ColorBrush is free software, released under the GNU General Public License v2.0 or later.


Made with ๐ŸŽจ by Swenix-dev

If ColorBrush brightens your desktop, consider leaving a โญ

About

๐ŸŽจ A beautiful color picker widget for KDE Plasma 6. Click the brush to pick any color on screen โ€“ brush and paint splat take on your color. Color history, HEX/RGB switch, light & dark mode and 9 languages.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages