NO_COLOR
If set, disables colored output.
Wlroots-compatible wayland color picker
hyprpicker [-acnh]
[-f
fmt]
The hyprpicker utility is a color-picker with support for various output formats. When hyprpicker is invoked the cursor is transformed into a magnifying lens, and clicking on any pixel of the screen will print out that pixels color to the standard output. The default output format is hexadecimal, but that can be configured with the -f option.
The options are as follows:
-a, --autocopy
Automatically copy the output of hyprpicker to the clipboard. This option requires that the wl-copy(1) command is installed on system.
-f fmt, --format=fmt
Select the format to output the selected pixels color in. The argument fmt is case-insensitive. The available options are:
(“C% M% Y% K%”)
(“#RRGGBB”)
(“R G B”)
(“H S% L%”)
(“H S% V%”)
The default format is hex.
-n, --no-fancy
Disable colored output. Default behavior is to color the output in the same color as the selected pixel.
-h, --help
Display a help message and exit successfully from the program.
-c, --cursor
Include the cursor in the frozen preview.
NO_COLOR
If set, disables colored output.
The hyprpicker utility exits 0 on success, and >0 if an error occurs.
Get a pixels color:
$ hyprpicker
Get a pixels color in HSL, wrapped in a CSS hsl() function:
$ hyprpicker -f hsl | sed 's/^/hsl(/; s/$/)/; y/ /,/'