snippetbashTip
farge — Display the color of a specific pixel on the screen in either hexadecimal or RGB formats. More infor
Viewed 0 times
thecommandspecificcolorclifargepixeldisplay
linux
Problem
How to use the
farge command: Display the color of a specific pixel on the screen in either hexadecimal or RGB formats. More information: <https://github.com/sdushantha/farge#usage>.Solution
farge — Display the color of a specific pixel on the screen in either hexadecimal or RGB formats. More information: <https://github.com/sdushantha/farge#usage>.Display a small preview window of a pixel's color with it's hexadecimal value, and copy this value to the clipboard:
fargeCopy a pixel's hexadecimal value to the clipboard without displaying a preview window:
farge --no-previewOutput a pixel's hexadecimal value to
stdout, and copy this value to the clipboard:farge --stdoutOutput a pixel's RGB value to
stdout, and copy this value to the clipboard:farge --rgb --stdoutDisplay a pixel's hexadecimal value as a notification which expires in 5000 milliseconds, and copy this value to the clipboard:
farge --notify --expire-time 5000Code Snippets
Display a small preview window of a pixel's color with it's hexadecimal value, and copy this value to the clipboard
fargeCopy a pixel's hexadecimal value to the clipboard without displaying a preview window
farge --no-previewOutput a pixel's hexadecimal value to `stdout`, and copy this value to the clipboard
farge --stdoutOutput a pixel's RGB value to `stdout`, and copy this value to the clipboard
farge --rgb --stdoutDisplay a pixel's hexadecimal value as a notification which expires in 5000 milliseconds, and copy this value to the clipboard
farge --notify --expire-time 5000Context
tldr-pages: linux/farge
Revisions (0)
No revisions yet.