From aebd17a6cb5959d076a83c278b122b48a1e3b40d Mon Sep 17 00:00:00 2001 From: marchersimon <50295997+marchersimon@users.noreply.github.com> Date: Fri, 11 Jun 2021 20:36:18 +0200 Subject: [PATCH] colorpicker: add page (#6098) --- pages/common/colorpicker.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/colorpicker.md diff --git a/pages/common/colorpicker.md b/pages/common/colorpicker.md new file mode 100644 index 000000000..cb62a4475 --- /dev/null +++ b/pages/common/colorpicker.md @@ -0,0 +1,25 @@ +# colorpicker + +> A minimalist X11 colorpicker. +> Any mouse gesture except left click will exit the program. +> More information: . + +- 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`