colorink
v1.0.2
Published
Show color swatches and gradients in your terminal from hex codes
Maintainers
Readme
colorink
A tiny CLI that displays color swatches and gradients right in your terminal.
Install
npm install -g colorinkOr run directly with npx:
npx colorink ff5733Usage
# Show a color swatch
colorink ff5733
# Show a gradient between two colors
colorink ff5733 3498dbSwatch mode
Displays a block of color with its hex and RGB values:
██████████████
#FF5733
rgb(255,87,51)
██████████████Gradient mode
Renders a smooth gradient across your terminal width:
#FF5733 ████████████████████████████████████████ #3498DBRequirements
- A terminal that supports 24-bit truecolor (most modern terminals do)
License
MIT
