pastel

Convert, generate, and manipulate colors across multiple color spaces for CLI workflows.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/bugabinga/pi-ext --skill pastel-bugabinga
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pastel
Source: https://github.com/bugabinga/pi-ext/tree/main/skills/pastel
Command: npx skills add https://github.com/bugabinga/pi-ext --skill pastel-bugabinga

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you quickly generate and transform colors (including formats and palettes) while keeping results visually accurate and readable.

Core Features & Use Cases

  • Color conversion & formatting: Convert between hex, RGB, HSL, LAB, LCH, OKLCh, ANSI, CMYK, and nearest named colors for consistent tooling and output.
  • Palette generation & design: Produce random palettes, maximize distinctness, create smooth gradients, and sort by hue/lightness/chroma for UI and graphics workflows.
  • Accessibility & terminal styling: Find readable foreground colors for backgrounds and simulate colorblind perception; also render ANSI-colored terminal text for scripts and CLIs.

Quick Start

Ask pastel to generate a 10-color distinct palette, then output the results as hex.

Frequently Asked Questions about pastel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert hex colors to OKLCh for perceptually accurate color operations?

You can convert hex colors to OKLCh by passing CLI arguments or piped input to ensure perceptually accurate color operations. The tool supports deterministic transformations across hex, RGB, HSL, LAB, LCH, and OKLCh formats.

What is the best way to generate a distinct color palette for UI design?

Generating a distinct color palette involves producing random colors while maximizing visual distinctness. You can create smooth gradients and sort the output by hue, lightness, or chroma directly from the command line for UI workflows.

How do I test color accessibility and simulate colorblind perception for a hex value?

Testing color accessibility involves simulating colorblind perception and finding readable foreground colors for backgrounds. You can pipe a hex value into the tool to evaluate its contrast and simulate how it appears to colorblind users.

Can I output terminal ANSI colors from RGB values in a CLI script?

Yes, you can output terminal ANSI colors from RGB values. The tool renders ANSI-colored terminal text from CLI arguments or piped input, allowing you to apply safe, deterministic color styling directly within your scripts.

How do I mix colors across different color spaces without losing visual accuracy?

Mixing colors across different color spaces requires perceptually accurate color operations to maintain visual fidelity. The tool safely transforms color values from CLI arguments or piped input, ensuring accurate mixing between LAB, LCH, and OKLCh formats.

Does this color conversion tool support CMYK and nearest named colors?

Yes, the color conversion tool supports CMYK and nearest named colors. It converts between hex, RGB, HSL, LAB, LCH, OKLCh, ANSI, CMYK, and named colors to ensure consistent tooling and output for your CLI workflows.