# Color Format Converter

> Color Format Converter is a paid API for AI agents from color.agentutil.net, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Converts a color value between hex, RGB, HSL, CMYK, HWB, and CSS named color formats

## Facts

- Endpoint: POST https://color.agentutil.net/v1/convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/color-agentutil-net-f0c1c690
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fJUsxUS4F1ln4-yt9cLaC

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 color-agentutil-net-f0c1c690 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need to translate a color value from one CSS/design format to another — for example converting a designer's hex code into RGB for CSS use, or into CMYK for print. Supports all common web and print color models in a single call.

## Known failure modes

- Unrecognized color string (e.g. typo in CSS name or malformed hex) returns a 4xx error
- Unsupported target format value returns a validation error
- Empty or missing color field returns a 400 bad request

## How this service works

Convert a color between hex, RGB, HSL, CMYK, HWB, and CSS named colors

## Output

Returns the input color expressed in one or more of the requested formats (hex, rgb, hsl, cmyk, hwb), or all formats if no target is specified.

## Example request

```json
{
 "to": "rgb",
 "color": "#FF5733"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "color"
 ],
 "properties": {
  "to": {
   "oneOf": [
    {
     "enum": [
      "hex",
      "rgb",
      "hsl",
      "cmyk",
      "hwb"
     ],
     "type": "string"
    },
    {
     "type": "array",
     "items": {
      "enum": [
       "hex",
       "rgb",
       "hsl",
       "cmyk",
       "hwb"
      ],
      "type": "string"
     }
    }
   ],
   "description": "Target format(s). If omitted, returns all formats"
  },
  "color": {
   "type": "string",
   "description": "Color to convert (hex, rgb(), hsl(), cmyk(), hwb(), or CSS name)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "rgb",
  "request_id",
  "service",
  "related_services"
 ],
 "properties": {
  "rgb": {
   "type": "object",
   "required": [
    "r",
    "g",
    "b"
   ],
   "properties": {
    "b": {
     "type": "number"
    },
    "g": {
     "type": "number"
    },
    "r": {
     "type": "number"
    }
   }
  },
  "service": {
   "type": "string"
  },
  "request_id": {
   "type": "string"
  },
  "related_services": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name",
     "url",
     "description"
    ],
    "properties": {
     "url": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "description": {
      "type": "string"
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/color-agentutil-net-f0c1c690/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from color.agentutil.net](https://www.zero.xyz/host/color.agentutil.net/llms.txt)
