A command-line tool to generate, analyze, convert, and manipulate colors across multiple formats and color spaces.
Pastel is a command-line tool written in Rust that allows users to generate, analyze, convert, and manipulate colors directly from the terminal. It solves the problem of working with colors in various formats and spaces by providing a unified interface for tasks like color conversion, mixing, and visualization, making it easier for developers and designers to handle color data in scripts and interactive sessions.
Developers, designers, and system administrators who need to work with colors in command-line environments, such as for scripting, terminal theming, data visualization, or design workflows.
Developers choose Pastel for its extensive support of color formats and spaces, composable command structure that follows Unix principles, and its ability to integrate seamlessly into shell pipelines and automation scripts, offering a more powerful and flexible alternative to basic color utilities.
A command-line tool to generate, analyze, convert and manipulate colors
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Handles RGB, HSL, CIELAB, hex codes, CSS names, and more, as highlighted in the Key Features, making it versatile for various color representation needs.
Commands can be piped together for complex operations, exemplified in the tutorial with sequences like `pastel random | pastel mix red`, enabling powerful automation.
Includes terminal color display and screen color picking, as shown in demos like `pastel pick` and `pastel color`, aiding quick color analysis without external tools.
Designed for automation with commands like `pastel paint` for colorized text output, demonstrated in scripting examples for error messages and highlights.
As a CLI-only tool, it lacks graphical elements, making it less intuitive for users who prefer visual drag-and-drop or point-and-click interactions.
While it supports many formats, the README does not mention specialized spaces like CMYK or Pantone, which are critical for professional print design workflows.
Features like color display rely on terminal ANSI support, which may not work consistently across all environments or with limited color capabilities.