# ApexAPI Color Converter

> ApexAPI Color Converter is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.070734/call, status unknown (last checked 2026-10-12).

Converts colors between different color formats and representations (e.g., HEX, RGB, HSL, CMYK)

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/tools/color/convert?utm_source=zero.xyz
- Price: $0.070734/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-color-converter-4e26987d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YjkdW0W4UyShORpgqPkfK

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 apexapi-color-converter-4e26987d -d '<json body>'
```

Example prompt: Convert the color #FF5733 to its RGB and HSL equivalents for me.

## When to prefer this

Use this endpoint when an agent needs to programmatically convert a color value between standard color formats (HEX, RGB, HSL, CMYK) without requiring a full design tool or image processing library. Ideal for web development, design automation, or any workflow where color interoperability between systems is needed.

## Known failure modes

- Invalid or unrecognized color format string returns an error
- Malformed hex code (wrong length or characters) causes a parse failure
- Unsupported target color space returns an error or empty result
- Missing query parameter results in a 400 bad request
- Payment failure (402) if USDC payment is not attached or insufficient

## 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 input color expressed in one or more alternative color formats such as RGB, HSL, HEX, or CMYK, allowing the agent to use the color value in whichever representation is needed.

## 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/apexapi-color-converter-4e26987d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
