--- id: hexor version: "0.0.15" license: Apache Software License license_treatment: permissive maintenance: active --- # hexor — Coloring texts and their backgrounds in command line interface (cli), with rgb or hex types. License: permissive · Maintenance: active · Downloads: 159.3K/mo ## What it is and what it does Hexor is a lightweight CLI text coloring library that lets you style terminal output with foreground and background colors. You instantiate a hexor object, then call its `.c()` method with text and color values in hex (e.g., #ff0000) or RGB (e.g., 255,0,0 or rgb(255,0,0)) formats. The object can either print the styled text directly or return it as a string for further use. The package has no external runtime dependencies and installs as a pure Python wheel. It's designed for developers who need simple, flexible color control in command-line applications without the complexity of larger terminal libraries. The API is minimal: create an instance with an optional return flag, then call `.c()` with text and one or two color arguments. Use it for: - Add colored output to CLI tools and scripts for better readability and visual hierarchy - Highlight errors, warnings, and success messages in terminal applications with distinct colors - Create colored logs or status displays where text and background colors improve information scanning - Build interactive CLI menus or prompts with colored text to guide user attention - Generate colored terminal reports or dashboards that mix multiple text and background colors ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Applies colored text and background styling to CLI output using hex or RGB color formats, then prints or returns the formatted string. Yes, if you need simple CLI text coloring without dependencies. The package is actively maintained, has no known vulnerabilities, and installs cleanly with zero runtime dependencies. The Apache license is permissive. The main caveat is that the last release was 2023-06-06; if you need cutting-edge features or fixes, verify the repository hasn't stalled despite recent commits. ## Install pip install hexor uv add hexor poetry add hexor ## Installing hexor Before you install: Low install friction with no runtime dependencies. Last release was 2023-06-06 but repository remains active with recent commits as of 2026-08-10, suggesting ongoing maintenance despite the gap between releases. License in practice: Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions. Quickstart: pip install hexor from hexor import hexor p = hexor() p.c("Text is red", "#ff0000") p.c("Red text, blue background", "#ff0000", "#1a73e8") Verify before relying: - Whether the package works with Python versions beyond 3.11 (description claims support through 3.11 but requires_python is unspecified) ## Package facts - License: Apache Software License (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 159.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags cli text coloring, terminal color output, hex rgb terminal styling, colored command line text, ansi color formatting, background color cli, terminal text styling, cli-styling, terminal-colors [View on SkillFed](https://skillfed.io/packages/hexor) · [View on PyPI](https://pypi.org/project/hexor/)