# PrimeAPI Color Converter

> PrimeAPI Color Converter is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.070734/call, status unknown (last checked 2026-09-14).

Converts color values between different color formats (e.g. HEX, RGB, HSL, HSV, CMYK)

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/color/convert
- Price: $0.070734/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-color-converter-daf95675
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zIQsQJLxRw2IXOpLSsGy9

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 primeapi-color-converter-daf95675 -d '<json body>'
```

Example prompt: Can you convert the color #FF5733 to its RGB and HSL equivalents for me?

## When to prefer this

Use this endpoint when you need to programmatically convert color codes between standard formats (HEX, RGB, HSL, CMYK, HSV) without setting up API keys, paying per call in USDC via x402 on Base.

## Known failure modes

- Invalid color format string returns an error or empty result
- Unsupported color format combination may return null
- Malformed hex code or out-of-range RGB values may cause a validation error
- Ambiguous query string may return unexpected format mapping

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the color value expressed in the requested or multiple target color formats, such as RGB triplets, HSL values, CMYK percentages, or hex codes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-color-converter-daf95675/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
