For Installation, you will only need Node.js.
$ npm install -g gradient-terminal
$ git clone https://github.com/aurora-0025/gradient-terminal.git
$ cd gradient-terminal
$ npm install -g .
<command> | gterm "<color1>" "<color2>" ...
ls | gterm red blue
Hex, 8-digit (RGBA) Hex |
RGB, RGBA |
HSL, HSLA |
HSV, HSVA |
---|---|---|---|
"#000" | "rgb (255, 0, 0)" | "hsl(0, 100%, 50%)" | "hsv(0, 100%, 100%)" |
"000" | "rgb 255 0 0" | "hsla(0, 100%, 50%, .5)" | "hsva(0, 100%, 100%, .5)" |
"#369C" | "rgba (255, 0, 0, .5)" | "hsl(0, 100%, 50%)" | "hsv (0 100% 100%)" |
"369C" | "hsl 0 1.0 0.5" | "hsv 0 1 1" | |
"#f0f0f6" | |||
"f0f0f6" | |||
"#f0f0f688" | |||
"f0f0f688" |
- tinygradient - Generate gradients
- ansi-regex - Regular expression for matching ANSI escape codes
Liked It? Why not leave a star ⭐