FICHA · AUR

python-x256

Find the nearest xterm 256 color index for an RGB.

  • terminal color utility
  • LIBRARY
  • CLI
  • Dependency only
official+codex · reviewed · Jun 3, 2026 description in en

Description

RGB colors can be matched to the nearest xterm 256-color palette index. This helper is useful for terminal themes, CLI output, and scripts that need approximate colors in limited terminal palettes.

It is a small developer utility rather than a full theme editor. Results are approximations because xterm palettes cannot represent every RGB color exactly.

Permissions

Permissions not analysed for this source yet.