Api Endpoint

Tanod utilpeek

utilpeek (Tanod) color conversion (hex, RGB, HSL, HSV, CMYK, OKLCH) and WCAG 2.x contrast check (AA / AAA). Use when an agent must convert a color between hex, RGB, HSL, CMYK and OKLCH, or check WCAG contrast.

Open interactive test console

Offering

Provider
tanod.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tanod.dev/v1/color/convert
MIME type
application/json
First seen
2026-10-16T01:51:02.144Z
Last seen
Tags
utilpeek, color, convert, fx-rates, qr-code, geocoding, Holidays

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 4
0.001 USDC
Atomic price: 1000000000000000 · Network: eip155:56 · Asset: USDC · Scheme: exact
Payment option 5
0.001 USDC
Atomic price: 1000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 6
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 7
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "amount": "1000000000000000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  }
]

Observed health

Status
Healthy
Latest latency
300 ms
Average latency
792 ms
HTTP status
204
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "additionalProperties": false,
      "properties": {
        "color": {
          "description": "A CSS color: hex (#rgb, #rgba, #rrggbb, #rrggbbaa), rgb() / rgba(), hsl() / hsla() or a CSS color name (148 names, plus transparent).",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "background": {
          "anyOf": [
            {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional second color (e.g. the background): adds the WCAG 2.x contrast ratio and AA / AAA pass / fail."
        }
      },
      "required": [
        "color"
      ],
      "type": "object"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "background": {
              "anyOf": [
                {
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Optional second color (e.g. the background): adds the WCAG 2.x contrast ratio and AA / AAA pass / fail."
            },
            "color": {
              "description": "A CSS color: hex (#rgb, #rgba, #rrggbb, #rrggbbaa), rgb() / rgba(), hsl() / hsla() or a CSS color name (148 names, plus transparent).",
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "color"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "background": {
              "properties": {
                "alpha": {
                  "type": "number"
                },
                "cmyk": {
                  "properties": {
                    "c": {
                      "type": "number"
                    },
                    "k": {
                      "type": "number"
                    },
                    "m": {
                      "type": "number"
                    },
                    "note": {
                      "type": "string"
                    },
                    "y": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "hex": {
                  "type": "string"
                },
                "hex8": {
                  "type": "string"
                },
                "hsl": {
                  "properties": {
                    "css": {
                      "type": "string"
                    },
                    "h": {
                      "type": "number"
                    },
                    "l": {
                      "type": "number"
                    },
                    "s": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "hsv": {
                  "properties": {
                    "h": {
                      "type": "number"
                    },
                    "s": {
                      "type": "number"
                    },
                    "v": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "names": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "oklch": {
                  "properties": {
                    "c": {
                      "type": "number"
                    },
                    "css": {
                      "type": "string"
                    },
                    "h": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "l": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "relative_luminance": {
                  "type": "number"
                },
                "rgb": {
                  "properties": {
                    "b": {
                      "type": "integer"
                    },
                    "css": {
                      "type": "string"
                    },
                    "g": {
                      "type": "integer"
                    },
                    "r": {
                      "type": "integer"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "color": {
              "properties": {
                "alpha": {
                  "type": "number"
                },
                "cmyk": {
                  "properties": {
                    "c": {
                      "type": "number"
                    },
                    "k": {
                      "type": "number"
                    },
                    "m": {
                      "type": "number"
                    },
                    "note": {
                      "type": "string"
                    },
                    "y": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "hex": {
                  "type": "string"
                },
                "hex8": {
                  "type": "string"
                },
                "hsl": {
                  "properties": {
                    "css": {
                      "type": "string"
                    },
                    "h": {
                      "type": "number"
                    },
                    "l": {
                      "type": "number"
                    },
                    "s": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "hsv": {
                  "properties": {
                    "h": {
                      "type": "number"
                    },
                    "s": {
                      "type": "number"
                    },
                    "v": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "names": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "oklch": {
                  "properties": {
                    "c": {
                      "type": "number"
                    },
                    "css": {
                      "type": "string"
                    },
                    "h": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "l": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "relative_luminance": {
                  "type": "number"
                },
                "rgb": {
                  "properties": {
                    "b": {
                      "type": "integer"
                    },
                    "css": {
                      "type": "string"
                    },
                    "g": {
                      "type": "integer"
                    },
                    "r": {
                      "type": "integer"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "contrast": {
              "properties": {
                "aa_large_text": {
                  "type": "boolean"
                },
                "aa_normal_text": {
                  "type": "boolean"
                },
                "aa_ui_components": {
                  "type": "boolean"
                },
                "aaa_large_text": {
                  "type": "boolean"
                },
                "aaa_normal_text": {
                  "type": "boolean"
                },
                "composited": {
                  "type": "boolean"
                },
                "note": {
                  "type": "string"
                },
                "ratio": {
                  "type": "number"
                },
                "ratio_text": {
                  "type": "string"
                },
                "ratio_unrounded": {
                  "type": "number"
                }
              },
              "type": "object"
            }
          },
          "required": [
            "color"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}