# x402-toolbox Hex to RGB Converter

> x402-toolbox Hex to RGB Converter is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-29).

Converts a hexadecimal color code into its RGB (red, green, blue) component values

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/util/hex-rgb-converter?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-hex-to-rgb-converter-848fdc46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hq5zCiVPZblSsZoKXokhj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-toolbox-hex-to-rgb-converter-848fdc46
```

Example prompt: Can you convert the hex color #FF5733 to its RGB values for me?

## When to prefer this

Choose this endpoint when you need a lightweight, no-auth, pay-per-call hex-to-RGB conversion with no API key overhead. Ideal for AI agents operating autonomously with a USDC wallet on Base, needing a simple deterministic color utility at $0.001 per call. Prefer this over self-implementing the conversion when you want a reliable hosted utility with guaranteed output format.

## Known failure modes

- Invalid or malformed hex string (e.g. missing '#', wrong length) may return an error or unexpected result
- Payment failure via x402 protocol if USDC balance is insufficient
- Missing or empty schema/hex input parameter returns an error
- Network timeout from Cloudflare Worker under high load

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

A JSON object with ok and paid flags confirming success, along with the decoded red, green, and blue integer values (0–255) corresponding to the input hex color code.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-hex-to-rgb-converter-848fdc46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
