{"uid":"cap_2BcZXNyRJ7DxsbZG67HKq","slug":"extract-hex-colors-from-web-page-601a4e32","name":"Extract Hex Colors from Web Page","description":"Extract hex colors from a web page: fetches the URL and returns every hex colors found in the page text and markup (deduplicated, with counts and up to 300 items), so an agent gets the values without parsing HTML. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/extract/hex-colors?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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a-ajw9hsrz8HnJD11fCZ5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page URL and returns all hex color codes found in its text and markup, deduplicated with occurrence counts, up to 300 items.","exampleAgentPrompt":"Can you fetch https://www.stripe.com and extract all the hex color codes used on the page, so I can see their color palette?","exampleUseCases":[{"title":"Brand color palette audit","prompt":"Go to https://www.airbnb.com and pull out every hex color code you find on the page — I want to see their full color palette with how often each color appears."},{"title":"Competitor design analysis","prompt":"Fetch https://www.notion.so and extract all hex colors from the page — I'm trying to understand what color scheme their designers are using."},{"title":"CSS color inventory for migration","prompt":"I'm redesigning our site and need to know what hex colors are currently used at https://www.myoldsite.com — can you extract all of them with their counts?"}],"resultDescription":"A deduplicated list of up to 300 hex color codes found in the page's text and markup, each with an occurrence count indicating how many times that color appears on the page.","failureModes":["URL is unreachable or returns a non-200 status — no colors returned","Page uses non-hex color formats (rgb, hsl, named colors) — those are not captured","Page is behind authentication or a paywall — content may not be accessible","More than 300 unique hex colors found — only top 300 returned","Dynamic/JavaScript-rendered colors not in the raw HTML may be missed","Payment of $0.01 USDC not fulfilled — request blocked"],"whenToPreferThis":"Use this endpoint when you need to quickly extract hex color values from any publicly accessible web page without writing HTML parsing code. It is ideal for design audits, brand color analysis, competitor research, or building color inventories. Prefer this over manual scraping when you want deduplicated results with counts in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:39:01.950Z","isFirstParty":false,"canonicalSlug":"extract-hex-colors-from-web-page-601a4e32"}