termpicker(1)

πŸ“¦ version 1.5.2, in nixpkgs unstable

πŸ’– termpicker(1) πŸ’–

okay so bestie, this is termpicker(1) from the General Commands Manual β€” the terminal-based color picker that’s about to make your palette pop ✨


🌸 NAME 🌸

termpicker β€” a terminal-based color picker πŸ’…


✨ SYNOPSIS ✨

termpicker

       [--background-sample|--bg]=[value]
       [--color|-c]=[value]
       [--foreground-sample|--fg]=[value]
       [--log-file|-l]=[value]
       [--log-level]=[value]
       [--oneshot|-1]
       [--sample-text|-t]=[value]
       [--version|-v]

πŸ¦‹ DESCRIPTION πŸ¦‹

termpicker is a terminal-based application designed to help users select and manipulate colors efficiently. Its keybindings are meant to be intuitive to vim users as it behaves in a modal way:

🌈 Normal mode 🌈

  • h,l β€” decrease/increase the current slider coarsely by 5%
  • H,L β€” decrease/increase the current slider finely by 1
  • j,k β€” select the slider below/above
  • <Tab>,<S-Tab> β€” move to the next/previous tab
  • f,b β€” copy the color as an ANSI foreground/background escape code
  • x,r,s,c,o β€” copy the color as a hex, rgb, hsl, cmyk, or oklch value
  • ? β€” expand/shrink the help menu
  • i, β€” enter Insert mode
  • q, β€” quit the application

πŸŽ€ Insert mode πŸŽ€

Manually type a color. Pressing (blank in the original) will cancel/leave Insert mode. Anything in the following formats will be used as a color input when pressing enter:

  • Hex: #rrggbb
  • RGB: rgb(r, g, b)
  • CMYK: cmyk(c, m, y, k)
  • HSL: hsl(h, s, l)
  • OKLCH: oklch(l c h)

🌟 Usage 🌟

termpicker [GLOBAL OPTIONS] [command [COMMAND OPTIONS]] [ARGUMENTS...]

πŸ‘‘ GLOBAL OPTIONS πŸ‘‘

  • --background-sample, --bg="" β€” Color used in the background when previewing target color as text/foreground (requires sample-text to be set)
  • --color, -c="" β€” Initial color
  • --foreground-sample, --fg="" β€” Color used for foreground/text when previewing target color as a background (requires sample-text to be set)
  • --log-file, -l="" β€” Log file
  • --log-level="" β€” Log level
  • --oneshot, -1 β€” Print the copied color to stdout and exit
  • --sample-text, -t="" β€” Text to preview colors as a foreground/background (setting this to an empty string "" will disable this feature) (default: The quick brown fox jumps over the lazy dog)
  • --version, -v β€” print the version

byeee bestie β€” that’s the whole termpicker(1) page from the General Commands Manual, footer vibes included πŸ’…βœ¨ stay colorful πŸ«ΆπŸ’–

πŸ“¦ where this page comes from