# Hex To Rgb

> Use this skill to convert a hex color (#rrggbb or #rgb) to RGB values and a css rgb() string. Deterministic, offline.

- Skill: `ncreighton/hex-to-rgb` (Agent Skill, multi-file: 10 files)
- Install (CLI): `npx skillmds@latest add ncreighton/hex-to-rgb`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ncreighton/hex-to-rgb/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: ncreighton (https://skillmd.com/u/ncreighton)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/ncreighton/hex-to-rgb

---


# hex-to-rgb

Use this skill to convert a hex color (#rrggbb or #rgb) to RGB values and a css rgb() string. Deterministic, offline.

- **Kind**: tool  |  **Niche**: reviews  |  **Cost tier**: free  |  **Version**: 0.1.0

## Empire Integration
```python
import sys
sys.path.insert(0, r'C:\D\Claude Code Projects\_SHARED')
import empire_bootstrap  # wires all shared paths
```

## Usage

**As a CLI:**
```bash
python run.py --hex <string>
```

**From a Python agent (ATEN runtime):**
```python
from skill_library import executor
result = executor.execute("hex-to-rgb", {hex=...})
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `hex` | string | yes | Hex color, e.g. #1a2b3c |

## Returns

`object` — `{"status": "ok"|"error", "result": ...}`

