2021-06-11 19:36:18 +01:00
|
|
|
# colorpicker
|
|
|
|
|
|
|
|
> A minimalist X11 colorpicker.
|
|
|
|
> Any mouse gesture except left click will exit the program.
|
|
|
|
> More information: <https://github.com/ym1234/colorpicker>.
|
|
|
|
|
2022-12-04 07:53:34 +00:00
|
|
|
- Launch colorpicker and print the hexadecimal and RGB value of each clicked pixel to `stdout`:
|
2021-06-11 19:36:18 +01:00
|
|
|
|
|
|
|
`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`
|