1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

colorpicker: add page (#6098)

This commit is contained in:
marchersimon 2021-06-11 20:36:18 +02:00 committed by GitHub
parent 87004beb0e
commit aebd17a6cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,25 @@
# colorpicker
> A minimalist X11 colorpicker.
> Any mouse gesture except left click will exit the program.
> More information: <https://github.com/ym1234/colorpicker>.
- Launch colorpicker and print the hexadecimal and RGB value of each clicked pixel to stdout:
`colorpicker`
- Only print the color of one clicked pixel and then exit:
`colorpicker --one-shot`
- Print the color of each clicked pixel and quit when a key is pressed:
`colorpicker --quit-on-keypress`
- Only print the RGB value:
`colorpicker --rgb`
- Only print the hexadecimal value:
`colorpicker --hex`