# Delx Commerce Color Convert API

> Delx Commerce Color Convert API is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Converts color values between different color format representations (e.g. HEX, RGB, HSL) via a pay-per-call API using USDC micropayments.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/color-convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-color-convert-api-ffdba83a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D5V4Y88-gmj9A8-6exzkF

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 delx-commerce-color-convert-api-ffdba83a -d '<json body>'
```

Example prompt: Convert the color #FF5733 from hex to RGB format for me.

## When to prefer this

Choose this endpoint when you need a lightweight, no-signup, pay-per-call color format conversion without integrating a full design library. Ideal for AI agents that occasionally need color conversions and want to pay only for what they use via USDC micropayments on Base or Solana.

## Known failure modes

- Invalid or unrecognized input color value returns an error
- Unsupported input or output color format type returns a 400-level error
- Payment failure or insufficient USDC balance blocks the request via x402 protocol
- Malformed request body missing required fields returns a validation error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the converted color value in the requested output format, such as a hex string, RGB triplet, or HSL values depending on what output format was specified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-color-convert-api-ffdba83a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
