Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

Latest commit

 

History

History
53 lines (40 loc) · 1.15 KB

README.md

File metadata and controls

53 lines (40 loc) · 1.15 KB

przm 🎨

A simple, yet feature rich color picker and manipulator (w/ vi keybindings!)



Usage:

Usage: przm [OPTION] [COLOR]
A simple, yet feature rich color picker and manipulator

--help, -h: Display this information
--rgb, -r: Return the color in the RGB format
--hex, -x: Return the color in the hexadecimal format
--output, -o: Don't clean up the output
--foreground, -f: Color the text foreground
--background, -b: Color the text background

h: Increment the 'R' value
j: Increment the 'G' value
k: Increment the 'B' value
l: Increment all values (brightens the color)

b: Decrement the 'R' value
n: Decrement the 'G' value
m: Decrement the 'B' value
,: Decrement all values (dims the color)

H: Randomly set the 'R' value
J: Randomly set the 'G' value
K: Randomly set the 'B' value
L: Randomly set all values 

[space]: Sets the color to black

q: Exit the program
[number]: Set the increment to [number] (0 = 10)

Dependencies

go get github.com/geremachek/escape 
go get github.com/geremachek/tinyscr
go get github.com/spf13/pflag