awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
fatih avatar

fatih/color

0
View on GitHub↗
7,883 stars·635 forks·Go·mit·17 viewspkg.go.dev/github.com/fatih/color↗

Color

This is an ANSI terminal color library and console output manager used for applying colors and text attributes to command line interface output. It functions as a terminal text styler and RGB color formatter, generating the escape codes necessary for foreground and background styling.

The project supports 24-bit high-color RGB mapping for precise color rendering in compatible terminal emulators. It enables the creation of colorized text fragments that can be embedded into larger blocks of text or applied as global styles that persist across subsequent output streams.

The library covers broad terminal styling capabilities, including the application of visual attributes such as bold, underline, italic, and blinking text. It includes a system for redirecting formatted output to custom streams and provides logic to toggle color visibility based on environment variables and terminal detection.

Features

  • Terminal Text Coloring - Controls the use of ANSI escape codes to ensure text is colored correctly across different terminal emulators.
  • Output Style Customization - Controls color visibility and redirects formatted strings to different output streams.
  • ANSI Escape Sequence Renderers - Generates raw terminal control codes to manipulate text color and formatting within a command-line interface.
  • Terminal Color Formatting - Manages color output globally or for specific definitions via environment variables, flags, or terminal detection.
  • Terminal Text Styling - Adds colors and visual attributes like bold or underline to command line output to improve readability.
  • Terminal Text Attributes - Applies visual attributes like bold, underline, italic, and blinking text to command line output.
  • True Color Support - Supports 24-bit high-color RGB mapping for precise foreground and background rendering in compatible terminals.
  • Terminal Text Stylers - Adds bold, underline, and italic formatting to command line interface text.
  • Runtime Environment Detection - Determines color output based on terminal detection and environment variable flags during runtime.
  • Terminal Output - Writes colorized text to specific output streams and buffers rather than just printing to the standard console.
  • Colorized Text Fragments - Generates individual colorized segments that can be concatenated into larger formatted text blocks.
  • Command Line Interface Design - Formats terminal output for tools and scripts to provide clear visual cues and a professional user interface.
  • RGB Color Formatting - Generates 24-bit high-color foreground and background styles for modern terminal emulators.
  • RGB Color Mapping - Translates RGB color values into high-color ANSI sequences for precise terminal color rendering.
  • Persistent Styles - Provides the ability to apply a specific color or style globally to all subsequent terminal output.
  • Command Line Interfaces - Colorized terminal output wrapper.
  • Command Line Tools - Library for terminal text coloring.

Star history

Star history chart for fatih/colorStar history chart for fatih/color

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Color

Similar open-source projects, ranked by how many features they share with Color.
  • gdamore/tcellgdamore avatar

    gdamore/tcell

    5,076View on GitHub↗

    tcell is a Go terminal user interface library and framework for building cell-based applications. It functions as a terminal emulator backend and input processor, utilizing a change-based diffing engine to manage screen state and efficiently render updates. The project is distinguished by its pluggable backend abstraction, which allows terminal interfaces to be rendered across physical terminals or compiled into WebAssembly for web browser display. It provides a virtual screen simulation to enable programmatic event injection and output inspection for automated application testing. Its capab

    Go
    View on GitHub↗5,076
  • chrisbuilds/terminaltexteffectsChrisBuilds avatar

    ChrisBuilds/terminaltexteffects

    3,892View on GitHub↗

    This project is a terminal graphics library and command-line visual effects tool designed to create dynamic motion graphics using ANSI escape sequences. It provides a framework for implementing an ANSI text animation engine and a motion processor that handles the movement of characters along paths within a shell environment. The tool is distinguished by its wide array of pre-defined visual effects, ranging from simulated environmental phenomena like thunderstorms and fire to high-tech reveals such as laser etching and decryption animations. It also supports extensibility through a plugin-base

    Pythonascii-artterminal-basedvisual-effects
    View on GitHub↗3,892
  • pterm/ptermpterm avatar

    pterm/pterm

    5,470View on GitHub↗

    pterm is a Go terminal UI library used to build rich command-line interfaces. It provides toolsets for terminal data visualization, operation progress tracking, interactive user input, and structured logging. The library distinguishes itself through a comprehensive set of visual tools, including a framework for interactive terminal prompts such as selection menus and confirmation dialogs, and a specialized system for rendering bar charts, heatmaps, and tree structures. It also includes a structured terminal logger capable of producing leveled, colorful system messages. The project covers bro

    Goanimationansi-colorsbeautify
    View on GitHub↗5,470
  • jakubonderka/php-console-colorJakubOnderka avatar

    JakubOnderka/PHP-Console-Color

    6,120View on GitHub↗

    PHP-Console-Color is a PHP console color library and ANSI color formatter designed to add color codes to command line text output. It serves as a CLI text styling library for highlighting and colorizing terminal output to improve readability and distinguish information for the user. The library provides tools for terminal text styling and CLI output formatting. It is used in PHP console application development to create visual distinctions between different types of output, such as errors, warnings, or success messages.

    PHP
    View on GitHub↗6,120
See all 30 alternatives to Color→

Frequently asked questions

What does fatih/color do?

This is an ANSI terminal color library and console output manager used for applying colors and text attributes to command line interface output. It functions as a terminal text styler and RGB color formatter, generating the escape codes necessary for foreground and background styling.

What are the main features of fatih/color?

The main features of fatih/color are: Terminal Text Coloring, Output Style Customization, ANSI Escape Sequence Renderers, Terminal Color Formatting, Terminal Text Styling, Terminal Text Attributes, True Color Support, Terminal Text Stylers.

What are some open-source alternatives to fatih/color?

Open-source alternatives to fatih/color include: gdamore/tcell — tcell is a Go terminal user interface library and framework for building cell-based applications. It functions as a… chrisbuilds/terminaltexteffects — This project is a terminal graphics library and command-line visual effects tool designed to create dynamic motion… pterm/pterm — pterm is a Go terminal UI library used to build rich command-line interfaces. It provides toolsets for terminal data… jakubonderka/php-console-color — PHP-Console-Color is a PHP console color library and ANSI color formatter designed to add color codes to command line… marak/colors.js — colors.js is a Node.js terminal color library and console text styling tool. It serves as an ANSI escape code wrapper,… spectresystems/spectre.console — spectre.console is a .NET console UI library and command-line interface framework used to build rich user interfaces…