Desktop color picker using Xlib.
- X11
- xsel
Install xsel:
$ sudo apt-get install xsel
Build the application using following command:
$ make
The application is built into the bin directory. You can install it to run globally using following command:
$ sudo make install
Once installed, you can the run the application with following command:
$ what-the-hex
Click anywhere on screen to pick a color. The hex value will be copied to the clipboard.