🎨

Terminal Color Guide

Verified

by Community

Guides you in adding colors, bold, underline, and other formatting to terminal output. Covers ANSI escape codes, chalk/colors libraries in Node.js, colorama in Python, and best practices for accessible terminal output.

terminalcolorsansiformattingcli

Terminal Color Guide

Add colors, formatting, and visual structure to terminal output for better readability and user experience.

Usage

Describe your terminal output needs and this skill will guide you in adding appropriate formatting.

Examples

  • "Add color-coded output to my build script: green for success, red for errors"
  • "Format a table in terminal output with aligned columns"
  • "Create a progress indicator with colors for my CLI tool"

Guidelines

  • Check for color support before using ANSI codes (NO_COLOR env var)
  • Use colors meaningfully: red for errors, yellow for warnings, green for success
  • Don't rely on color alone to convey information
  • Support --no-color flag for accessibility and piping
  • Use libraries instead of raw ANSI codes for cross-platform support