# RGB to HSL Color Converter

> RGB to HSL Color 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-10-02).

Converts RGB color values to HSL (Hue, Saturation, Lightness) representation

## Facts

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

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 rgb-to-hsl-color-converter-d7e7038c
```

Example prompt: Convert the RGB color (120, 200, 50) to its HSL equivalent for me.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, pay-per-call RGB-to-HSL conversion with no API key or account setup — ideal for AI agents operating autonomously with a USDC wallet on Base. Prefer this over local computation when you want a reliable hosted microservice in an agentic pipeline.

## Known failure modes

- Invalid or missing RGB values return an error response
- Out-of-range channel values (outside 0–255) may produce incorrect or error output
- Malformed query parameters result in a failed computation
- Network or Worker availability issues return a 5xx error

## 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 response containing the HSL representation of the input RGB color, with fields for hue (0–360 degrees), saturation (0–100%), and lightness (0–100%), plus ok and paid status flags.

## 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/rgb-to-hsl-color-converter-d7e7038c/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)
