Delx Commerce — Hex Color Luminance 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).
Computes the relative luminance of a hex color code (#RRGGBB) and returns it as a float value.
Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.
Returns a JSON object with a schema identifier ('delx/util-hex-color-luminance/v1') and a 'luminance' float representing the relative luminance of the input hex color, in the range 0 (black) to 1 (white), conforming to standard luminance calculation (e.g. WCAG 2.x).
POSThttps://commerce.delx.ai/api/v1/x402/hex-color-luminance?utm_source=zero.xyzUse this endpoint when you need a fast, cheap, single-call computation of relative luminance for a hex color, particularly for accessibility checks (WCAG contrast ratios), dynamic UI theming decisions, or color sorting by perceived brightness. It is a pay-per-call API requiring no signup, making it ideal for agent workflows that occasionally need color luminance without standing up a local color library.
| Field | Type | Description |
|---|---|---|
| hex | string | Hex color #RRGGBB |
{
"type": "json",
"example": {
"schema": "delx/util-hex-color-luminance/v1",
"luminance": 0.01502241942073589
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"