color-ramp-cli
v1.2.0
Published
Simple CLI that generates color ramps from css colors
Maintainers
Readme
🎨 color-ramp-cli
A simple CLI tool that generates color ramps from CSS colors.
📦 Installation
pnpm add -g color-ramp-cli🛠 Options
| Option | Description | Default | | -------------------- | ----------------------- | ------- | | -s, --steps | Number of steps in ramp | 11 | | -h, --help | Show help message | | | -v, --version | Show version number | |
Example
cgr "#ff5733"
npx color-ramp-cli red green blue
pnpm dlx color-ramp-cli skyblue "rgb(0 255 0)" "hsl(0 100% 25%)"This will generate a smooth color ramp based on the input color.
📘 Help
Run with --help to see available commands and options:
cgr --help📦 Output
A list of color values forming a ramp using OKLCH color space interpolation.
📝 License
MIT © maxwihlborg
