{"uid":"cap_BqyevZe00NYbvd3D0Vu55","slug":"fastapi-online-color-convert-7de37613","name":"fastapi.online Color Convert","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/color-convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"color":{"type":"string","maxLength":60,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XE_rcLvS--Qmmd_JyFgxp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a color value between formats (e.g. hex, RGB, HSL, named colors)","exampleAgentPrompt":"Convert the color #FF5733 to its RGB and HSL equivalents for me.","exampleUseCases":[{"title":"Hex to RGB for CSS styling","prompt":"I have the hex color #3A86FF and I need its RGB values so I can use it in my CSS stylesheet — can you convert it?"},{"title":"Named color to hex lookup","prompt":"What's the hex code for the color 'coral'? I need it for a design I'm working on."},{"title":"RGB to HSL for design tool","prompt":"Convert RGB(128, 0, 128) to HSL format so I can plug it into my Figma color settings."}],"resultDescription":"Returns the input color expressed in one or more alternative color format representations, such as hex, RGB, HSL, or color name equivalents, enabling cross-format color usage in design and development workflows.","failureModes":["Unrecognized or malformed color string returns an error (e.g. random text that is not a valid color)","Empty input triggers validation error due to minLength constraint","Ambiguous color shorthand may not be parsed as expected","Network or payment failure returns 402 or 5xx status"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call color format conversion without setting up a library or local utility. It is ideal for agents that occasionally need to cross-reference color formats (hex ↔ RGB ↔ HSL ↔ named) on demand, especially in design automation, CSS generation, or data normalization pipelines where color strings arrive in mixed formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:27:58.838Z","isFirstParty":false}