← Back to directory

Vextorium · Color converter & WCAG contrast (x402)

https://api.vextorium.com/v1/color-contrast

Overview

Convert a color between HEX, RGB, HSL, HSV and CMYK and, given a background, compute the WCAG 2.x contrast ratio with AA/AAA pass flags; without background, suggests black or white text.

Protocol x402 (POST)
Price $0.0030
Payment Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Payment Network eip155:8453
Category uncategorized
Provider Vextorium
Source bazaar
Indexed 2026-10-03 21:23:37

Health

Status healthy
Latency (p50) 308ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 07:01:48
Last Healthy 2026-10-31 07:01:48
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "color": "#00ff66", "fund": "#0d0e11" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "color": { "cmyk": [ 100, 0 ], "hex": "#00ff66", "hsl": [ 144, 100 ], "hsv": [ 144, 100 ], "luminance": 0.7248, "rgb": [ 0, 255 ] }, "contrast": { "grande_text_AA": true, "grande_text_AAA": true, "normal_text_AA": true, "normal_text_AAA": true, "ratio": 14.24, "ui_components": true }, "fund": { "cmyk": [ 24, 18 ], "hex": "#0d0e11", "hsl": [ 225, 13 ], "hsv": [ 225, 24 ], "luminance": 0.0044, "rgb": [ 13, 14 ] } }, "type": "json" }

Also available via

MPP
healthy
—
on
View details →