# 使用 Homebrew 安装 xorgrgb

查看 xorgrgb 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:xorgrgb
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xorgrgb
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:xorgrgb
- **软件包管理器:** Homebrew
- **版本:** 1.1.1
- **来源摘要:** X.Org: color names database
- **主页:** <https://www.x.org/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- showrgb (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.1.1
## 项目历史与用法

X.Org rgb is the small X11 color-name database package associated with rgb.txt and the showrgb utility. It preserves the named-color vocabulary that lets X resources and applications refer to colors such as SteelBlue, papaya whip, or gray75 instead of raw numeric RGB triples.

### 项目历史

The X(7) manual documents X support for abstract color names and says the text form of the color database is commonly stored as rgb.txt. The rgb application repository carries the standalone rgb.txt file and showrgb program in the modular X.Org app tree.

Historically, rgb.txt was part of the wider X distribution. As X.Org moved into modular releases, small utilities and data files like rgb became independently packaged modules rather than incidental files inside one monolithic X tree.

### 采用历史

The database became familiar because X resource files, examples, and old GUI applications used named X11 colors directly. Even after modern toolkits and CSS-style color handling became more common, the X11 color-name list remained part of Unix GUI muscle memory.

The standalone package matters most on systems that still expose or inspect the old X color database separately from the server's built-in color handling.

### 使用方式

showrgb reads an RGB color-name database and prints it in source form. The raw rgb.txt file maps integer red, green, and blue values to one or more color names, including spaced and CamelCase aliases.

Practical use is mostly diagnostic and compatibility-oriented: checking the exact color names available to X applications, preserving legacy resource behavior, or comparing the X11 color list against web/SVG color-name sets.

### 为什么软件包爱好者会关心

xorgrgb is package-nerd archaeology in a tiny package: a data file and utility that explain why so many old X examples use poetic color names. It is not glamorous, but it is the sort of compatibility artifact that makes the X11 ecosystem feel continuous across decades.

It also demonstrates how modular X.Org packaging split even small data utilities into separate source modules, so distributions can keep legacy X behavior without dragging along unrelated applications.

### 时间线

- 1980s: X color-name databases become part of the X Window System culture.
- X11R7 era: X.Org modularization separates small apps and data files such as rgb from the former monolithic tree.
- 2012: X11R7.7 documentation still lists rgb among display-server-related utilities in the core X.Org distribution.
- 2026: The X.Org app/rgb repository continues to publish rgb.txt as a standalone module.

### Related projects

- X.Org Server consumes or embeds X11 color-name behavior for clients using named colors.
- xcolorsel and similar X utilities inspect or present rgb.txt-style color databases.
- CSS/SVG color keywords are a related but not identical descendant color-name ecosystem.

### 来源

- <https://gitlab.freedesktop.org/xorg/app/rgb>
- <https://gitlab.freedesktop.org/xorg/app/rgb/-/raw/master/rgb.txt>
- <https://www.x.org/releases/X11R7.6/doc/man/man1/showrgb.1.xhtml>
- <https://www.x.org/releases/X11R7.7/doc/man/man7/X.7.xhtml>
- <https://www.x.org/releases/X11R7.7/doc/xorg-docs/ReleaseNotes.txt>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Combined YAML source

View the package source record on GitHub. [combined/xorgrgb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xorgrgb.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
