{"uid":"cap_fJUsxUS4F1ln4-yt9cLaC","slug":"color-agentutil-net-f0c1c690","name":"Color Format Converter","description":"Convert a color between hex, RGB, HSL, CMYK, HWB, and CSS named colors","url":"https://color.agentutil.net/v1/convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["color"],"properties":{"to":{"oneOf":[{"enum":["hex","rgb","hsl","cmyk","hwb"],"type":"string"},{"type":"array","items":{"enum":["hex","rgb","hsl","cmyk","hwb"],"type":"string"}}],"description":"Target format(s). If omitted, returns all formats"},"color":{"type":"string","description":"Color to convert (hex, rgb(), hsl(), cmyk(), hwb(), or CSS name)"}}},"responseSchema":{"type":"object","required":["rgb","request_id","service","related_services"],"properties":{"rgb":{"type":"object","required":["r","g","b"],"properties":{"b":{"type":"number"},"g":{"type":"number"},"r":{"type":"number"}}},"service":{"type":"string"},"request_id":{"type":"string"},"related_services":{"type":"array","items":{"type":"object","required":["name","url","description"],"properties":{"url":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}}}}},"example":{"request":{"to":"rgb","color":"#FF5733"},"response":{"rgb":{"b":51,"g":87,"r":255},"service":"https://color.agentutil.net","request_id":"e58a9002-77be-4350-a930-5761ca8550a7","related_services":[{"url":"https://verify.agentutil.net","name":"verify","description":"Fact verification against live data sources -- exchange rates, crypto, stocks, entities, geography"},{"url":"https://docs.agentutil.net","name":"docs","description":"Search pre-indexed platform documentation -- semantic vector search across 10+ platforms"},{"url":"https://think.agentutil.net","name":"think","description":"Intent security -- pre-flight safety checklists, instruction expansion, and post-action review for autonomous agents"},{"url":"https://convert.agentutil.net","name":"convert","description":"Unit conversion (80+ units), live currency rates, and encoding (base64, hex, URL)"},{"url":"https://weather.agentutil.net","name":"weather","description":"Current conditions and multi-day forecasts for any location worldwide via Open-Meteo"},{"url":"https://validate.agentutil.net","name":"validate","description":"Validate emails (RFC 5322), URLs, phone numbers (E.164), credit cards (Luhn), and JSON schemas"},{"url":"https://time.agentutil.net","name":"time","description":"Timezone conversion, current time in any timezone, date arithmetic, and epoch conversions"},{"url":"https://hash.agentutil.net","name":"hash","description":"Hash with MD5/SHA-256/SHA-512, encode/decode base64/hex/URL, generate UUIDs, identify hash algorithms"},{"url":"https://text.agentutil.net","name":"text","description":"Regex match/replace/extract, text diff, slugify, word count, and markdown/HTML/JSON transforms"},{"url":"https://math.agentutil.net","name":"math","description":"Safe expression evaluation, statistics (mean/median/stddev/percentiles), percentages, and rounding"},{"url":"https://geocode.agentutil.net","name":"geocode","description":"Forward geocoding (address to lat/lon), reverse geocoding (lat/lon to address), and haversine distance"},{"url":"https://dns.agentutil.net","name":"dns","description":"DNS record lookups (A/MX/TXT/NS), reverse DNS, WHOIS/RDAP domain data, and IP geolocation"},{"url":"https://undo.agentutil.net","name":"undo","description":"Reversibility intelligence -- check if actions can be undone, find safer alternatives, batch safety warnings"},{"url":"https://norm.agentutil.net","name":"norm","description":"Baseline reality checks -- statistical anomaly detection for values against published industry benchmarks"},{"url":"https://context.agentutil.net","name":"context","description":"Situational awareness -- timezone, holiday, business calendar, and platform status checks before taking action"},{"url":"https://random.agentutil.net","name":"random","description":"Secure random generation -- passwords, UUIDs (v4/v7), API tokens, numbers with dice notation, and random picks/shuffles"},{"url":"https://cron.agentutil.net","name":"cron","description":"Cron expression tools -- explain, parse natural language to cron, calculate next execution times, and validate expressions"},{"url":"https://useragent.agentutil.net","name":"useragent","description":"User agent parsing -- browser/OS/device detection, bot/crawler identification with 50+ patterns, and UA comparison"}]}},"exampleRequest":{"to":"rgb","color":"#FF5733"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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_u_i0KHYfwgnSUzOdJLBE8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a color value between hex, RGB, HSL, CMYK, HWB, and CSS named color formats","exampleAgentPrompt":"Convert the color #FF5733 to both RGB and HSL for me.","exampleUseCases":null,"resultDescription":"Returns the input color expressed in one or more of the requested formats (hex, rgb, hsl, cmyk, hwb), or all formats if no target is specified.","failureModes":["Unrecognized color string (e.g. typo in CSS name or malformed hex) returns a 4xx error","Unsupported target format value returns a validation error","Empty or missing color field returns a 400 bad request"],"whenToPreferThis":"Use this endpoint when you need to translate a color value from one CSS/design format to another — for example converting a designer's hex code into RGB for CSS use, or into CMYK for print. Supports all common web and print color models in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:35:23.053Z","isFirstParty":false,"canonicalSlug":"color-agentutil-net-f0c1c690"}