ToolAssay

Convert a colour between hex, rgb, hsl, hsv and cmyk (input

Convert a colour between hex, rgb, hsl, hsv and cmyk (input: hex, rgb(), hsl() or a CSS colour name), get relative luminance, dark/light, and whether black or white text reads better on it. With 'against', returns the WCAG 2.x contrast ratio and pass/fail for AA/AAA normal and large text and UI components. Use for accessible UI, theme generation, brand colour checks.

Answeringour last check, 2026-11-27
2 of 2checks answered this week
940 msmedian answer time
$0.001listed price per call
$0.001price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://agents.204-168-199-108.sslip.io/v1/util/color

CategoryEverything else
Provider hostagents.204-168-199-108.sslip.io
Networksaws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.001 948 ms
2026-11-26 valid payment request 402$0.001 932 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "against": "white",
    "color": "#1a73e8"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "against": {
              "description": "Optional second colour (e.g. background) for the contrast ratio",
              "type": "string"
            },
            "color": {
              "description": "Colour: #1a73e8, rgb(26,115,232), hsl(214,82%,51%) or a CSS name",
              "type": "string"
            }
          },
          "required": [
            "color"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON