{"uid":"cap_lb7JldK4Wmav4sKwP7cEn","slug":"fastx402-hex-color-name-lookup-6fba5d52","name":"FastX402 Hex Color Name Lookup","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/hex-color-name?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["hex"],"properties":{"hex":{"type":"string","description":"Hex color code, with or without # prefix (e.g., #FF6347 or FF6347)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"hex":{"type":"string"},"name":{"type":"string"},"exact":{"type":"boolean"},"distance":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"hex":"#ff6347","name":"tomato","exact":true,"distance":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zcwqCm0efMnPPXqVU6Ozs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a hex color code into its closest human-readable CSS/web color name, with an exact-match flag and distance score.","exampleAgentPrompt":"What's the human-readable color name for the hex code #FF6347? Tell me if it's an exact match or just the closest named color.","exampleUseCases":[{"title":"Design system color audit","prompt":"I have a list of hex colors from our brand guide — can you tell me the CSS color names for #1E90FF, #228B22, and #DC143C, and let me know if any are exact named colors?"},{"title":"Accessibility report color labeling","prompt":"Our accessibility report shows colors as hex codes like #A9A9A9 — can you translate that to a plain English color name so non-technical stakeholders can understand it?"},{"title":"Code review UI color clarity","prompt":"Someone used the hex #FF4500 in our UI code — can you tell me what that color is actually called so I can reference it by name in my review comment?"}],"resultDescription":"A JSON object containing the normalized hex code (e.g. '#ff6347'), the closest named color (e.g. 'tomato'), a boolean indicating whether the match is exact, and an integer distance score (0 = perfect match, higher = less exact).","failureModes":["Missing or malformed 'hex' query parameter returns an error","Hex codes with invalid characters or incorrect length may be rejected","Non-color hex strings (e.g. UUID-like strings) may fail validation","Payment failure via x402 protocol results in 402 response before processing"],"whenToPreferThis":"Use this endpoint when you need to convert a raw hex color code into a meaningful, human-readable color name — especially useful in design tools, accessibility reports, code reviews, or any UI context where CSS named colors are preferred over hex values. Prefer this over manual lookup tables when you need an approximate nearest-named-color with a distance metric.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:37:42.692Z","isFirstParty":false,"canonicalSlug":"fastx402-hex-color-name-lookup-6fba5d52"}