{"uid":"cap_VxGuV4cbHLn32mXOPz7TT","slug":"color-hex-to-rgb-hsl-converter-992a5105","name":"Color Hex to RGB/HSL Converter","description":"Parse #RGB or #RRGGBB colors and return RGB/HSL values without calling an upstream model. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.","url":"https://gpt55.558686.xyz/v1/tools/color-convert","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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","required":["hex"],"properties":{"hex":{"type":"string","maxLength":9,"minLength":3}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"hex":"#FF5733"}}},"response":{"ok":true,"hex":"#ff5733","hsl":{"h":11,"l":60,"s":100},"rgb":{"b":51,"g":87,"r":255},"tool":"colorConvert","fetchedAt":"2026-06-18T06:24:11.234Z"}},"exampleRequest":{"hex":"#FF5733"},"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1MSnVGhATv2smCxo9JRfv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 RGB and HSL equivalents via a micropayment-gated GET request.","exampleAgentPrompt":"Can you convert the hex color #FF5733 to its RGB and HSL values for me?","exampleUseCases":null,"resultDescription":"A JSON object with ok status, tool name 'colorConvert', a summary string, and the converted RGB and HSL values derived from the input hex code.","failureModes":["Missing or invalid hex query parameter returns error","Hex string outside 3-9 character bounds rejected by schema validation","Payment failure over x402/USDC on Base blocks request","Malformed hex string (non-hex characters) may cause conversion error or bad output"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic hex-to-RGB/HSL conversion without setting up a subscription, paying only $0.0001 USDC per call via x402 on Base. Prefer it for lightweight, on-demand color utility in agent workflows where free libraries are unavailable or impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:28.771Z","isFirstParty":false}