# Extract Hex Colors from Web Page

> Extract Hex Colors from Web Page is a paid API for AI agents from page.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

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.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/extract/hex-colors?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-hex-colors-from-web-page-601a4e32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2BcZXNyRJ7DxsbZG67HKq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability extract-hex-colors-from-web-page-601a4e32
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/extract-hex-colors-from-web-page-601a4e32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from page.intel.rallylive.ca](https://www.zero.xyz/host/page.intel.rallylive.ca/llms.txt)
