Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 710 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 710 Bytes

pik

image

Color picker for terminal

Installation

From source

CGO_ENABLED=0 go install -trimpath -ldflags="-s -w" github.com/immanelg/pik@latest

Usage

Flags

  • -init string: initial color (#123456, rgb(...), hsl(...))
  • -logfile /dev/null: log debug messages to file

Keybindings

  • h, l, b, w, [, ], H, L: change current slider value
  • j, k: change focused slider
  • i: cycle input mode (RGB, HSL)
  • o: cycle output mode (RGB, HEX, HSL)
  • y: copy to clipboard
  • p: paste from clipboard
  • enter: quit and print current color
  • q: quit
  • <c-l>: redraw