How to Install grabc in Ubuntu 18.04



Install grabc by entering the following commands in the terminal:

sudo apt update
sudo apt install grabc

Description:

simple program to determine the color string in hex by clicking on a pixel

grabc is simple but useful program to determine the color string in hex or in RGB components by clicking on a pixel on the screen. When this program is run, the mouse pointer is grabbed and changed to a cross hair and when the mouse is clicked, the color of the clicked pixel is written to stdout in hex and the R, G, B components are written to stderr. . This program can be useful when you see a color and want to use the color in xterm or your window manager's border but no clue what the name of the color is. It's silly to use a image processing software to find it out.

Homepage: http://muquit.com/muquit/software/grabc/grabc.html

Version: 1.1-2build1

Section: universe/x11