GRABC(1)
π GRABC(1) π
okay so bestie, you know that grabc page in the manual? yeah, the one numbered 1? that's this one. sit down, we're doing color picking and it's gonna be iconic. π
β¨ NAME β¨
grabc β A tool to identify a pixel color of an X Window. fr fr that's the whole job and she does it beautifully π
π¦ SYNOPSIS π¦
grabc v1.0.2
A program to identify a pixel color of an X Window
by muquit@muquit.com https://www.muquit.com/
Usage: grabc [options]
Where the options are:
-v - show version info
-h - show this usage
-hex - print pixel value as Hex on stdout
-rgb - print pixel value as RGB on stderr
-W - print the Window id at mouse click
-w id - window id in hex, use -l +x+y
-l +x+y - pixel co-ordinate. requires window id
-d - show debug messages
-a - Print all 16 bits of color. Default is high order 8 bits
Example:
* Print pixel color in hex on stdout:
$ grabc
* Show usage:
$ grabc -h
* Print Window Id (Note the upper case W):
$ grabc -W
* Print pixel color of Window iwith id 0x13234 at location 10,20
$ grabc -w 0x13234 -l +10+20
(yes bestie, it says iwith. that's canon. we don't touch it. π)
π DESCRIPTION π
grabc is a simple but very useful program β like, lowkey a tiny legend β that figures out the color string in hex (or in RGB components, if that's your vibe) when you click on a pixel on the screen. π±οΈβ¨
So picture this: you're web browsing, and you keep finding a nice color and you're like "what color IS that??" π Well. just use grabc! that's it, that's the whole solution.
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, prefixed with #. π¨ periodt.
π LICENSE π
MIT β go off, bestie, it's permissive.
π«Ά AUTHOR π«Ά
grabc is written by Muhammad Muquit <muquit@muquit.com>. Homepage: <https://www.muquit.com/>. π§ββοΈ
π the cute sign-off π
this page came from perl v5.22.1, dated 2018-04-16 β and honestly? she's still serving. go pick a pixel. you got this. πβπΈ
π¦ where this page comes from
- debian bookworm: grabc 1.1+git20210125.b9e4316-2 Β· MIT
- debian trixie: grabc 1.1+git20210125.b9e4316-2 Β· MIT
- ubuntu noble: grabc 1.1+git20210125.b9e4316-2 Β· MIT
- ubuntu questing: grabc 1.1+git20210125.b9e4316-2
- ubuntu resolute: grabc 1.1+git20210125.b9e4316-6 Β· MIT
- ubuntu stonking: grabc 1.1+git20210125.b9e4316-6 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms