Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (colorink) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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