# HSL to RGB Color Converter

> HSL to RGB Color Converter is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-24).

Converts an HSL color value to its RGB equivalent via a paid micro-API endpoint

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/color-hsl-to-rgb?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hsl-to-rgb-color-converter-6e676a32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T3_O9MucPdcfGpZSo3bIy

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 hsl-to-rgb-color-converter-6e676a32 -d '<json body>'
```

Example prompt: Convert the HSL color hsl(200, 75%, 60%) to its RGB values for me.

## When to prefer this

Choose this endpoint when you need a deterministic, server-side HSL-to-RGB color conversion and no local computation is available or permitted. It is especially appropriate in agent pipelines where color format normalization is a discrete step. Prefer the free sandbox POST /v1/sandbox/color-hsl-to-rgb endpoint first if available; use this paid endpoint at $0.008 USDC only when the sandbox is unavailable or unsuitable.

## Known failure modes

- Invalid or malformed HSL input string returns an error
- Input text exceeding 100,000 characters is rejected
- Missing or empty text field returns a validation error
- Payment failure or insufficient USDC balance prevents the call from completing
- Network issues may result in timeout or connection errors

## How this service works

Call when an agent needs a color converted with hsl-to-rgb. No network. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/color-hsl-to-rgb first.

## Output

Returns the RGB equivalent of the provided HSL color input, including numeric red, green, and blue component values (typically 0–255 range) derived from the hue, saturation, and lightness parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "hsl(0, 100%, 50%)"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hsl-to-rgb-color-converter-6e676a32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
