Forrest logo
tool overview
On this page you find all important commands for the CLI tool pastel. If the command you are looking for is missing please ask our AI.

pastel

Pastel is a command-line tool that enables users to generate beautiful, eye-catching, and highly customizable colors for their terminal output. It allows users to manipulate and style text or create colorful visualizations with ease.

The tool supports a wide range of color formats, including RGB, Hex, HSL, and ANSI, allowing users to choose colors that suit their preferences. Additionally, it provides the capability to create gradients and patterns using multiple colors.

Pastel supports various output formats, such as plain text, rich text, HTML, and CSS, making it versatile and suitable for diverse use cases. It can be integrated with other command-line tools to enhance their output with appealing colors.

With its intuitive and straightforward syntax, Pastel makes it easy for users to apply colors and styles to their text. It offers commands for coloring text, background, or both, as well as options for setting text styles like bold, italic, underline, and strikethrough.

Users can create color palettes and save them as themes to be easily reused in different projects. Pastel also provides pre-defined color palettes that can be accessed and used directly from the command line.

The tool is written in Rust, ensuring high performance and efficient execution. It is cross-platform, compatible with major operating systems such as Linux, macOS, and Windows.

Being an open-source project, Pastel allows users to contribute and collaborate on its development, making it continually evolving and improving. It has an active community that provides support and shares ideas and examples.

Whether for beautifying command-line outputs, creating visually appealing visualizations, or simply having fun with colors, Pastel is a powerful and versatile tool that brings vibrant and customizable colors to the command line experience.

List of commands for pastel:

  • pastel:tldr:125f5 pastel: Pick a color from somewhere on the screen.
    $ pastel pick
    try on your machine
    explain this command
  • pastel:tldr:62f6c pastel: Get a list of all X11 / CSS color names.
    $ pastel list
    try on your machine
    explain this command
  • pastel:tldr:7fe0a pastel: Convert colors from one format to another. Here from RGB to HSL.
    $ pastel format ${hsl} ${ff8000}
    try on your machine
    explain this command
  • pastel:tldr:980a2 pastel: Show and analyze colors on the terminal.
    $ pastel color "${rgb(255,50,127)}"
    try on your machine
    explain this command
  • pastel:tldr:d9b94 pastel: Generate a set of N visually distinct colors.
    $ pastel distinct ${8}
    try on your machine
    explain this command
tool overview