LinuxCommandLibrary

colorpicker

A minimalist X11 colorpicker.

TLDR

Launch colorpicker and print the hexadecimal and RGB value of each clicked pixel to stdout

$ colorpicker
copy


Only print the color of one clicked pixel and then exit
$ colorpicker --one-shot
copy


Print the color of each clicked pixel and quit when a key is pressed
$ colorpicker --quit-on-keypress
copy


Only print the RGB value
$ colorpicker --rgb
copy


Only print the hexadecimal value
$ colorpicker --hex
copy

Help

Usage:
  colorpicker [OPTION…] 

Help Options:
  -h, --help               Show help options 
  --help-all               Show all help options 
  --help-gtk               Show GTK+ Options 

Application Options:
  --short                  Use #RRGGBB output format 
  --one-shot               Exit after picking one color 
  --preview                Show the current color in preview rectangle 
  --display=DISPLAY        X display to use 

Copied to clipboard