Website Color Palette Extractor - Hex Colors from URL avatar

Website Color Palette Extractor - Hex Colors from URL

Pricing

from $0.64 / 1,000 scanned pages

Go to Apify Store
Website Color Palette Extractor - Hex Colors from URL

Website Color Palette Extractor - Hex Colors from URL

Extract a website's color palette - hex/rgb/hsl from styles and theme-color meta - normalized and ranked by frequency. Single or bulk. $0.0008 per page no start fee, cheaper than paid palette actors; failed fetches free.

Pricing

from $0.64 / 1,000 scanned pages

Rating

0.0

(0)

Developer

Broke to Built

Broke to Built

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

a day ago

Last modified

Share

Website Color Palette Extractor — hex colors from any URL

Extract a website's color palette: every color found in its <style> blocks, inline style attributes, and theme-color/msapplication-TileColor meta tags — normalized to hex, converted to rgb, and ranked by frequency. Handles hex, rgb/rgba, and hsl/hsla. Built for brand-kit building, design research, and competitive analysis. Single URL or bulk.

$0.0008 per page, no start fee — cheaper than the paid palette actors measured on the Store. Failed fetches are recorded free.

What you get

  • palette — up to 20 colors, each { hex, rgb, count }, most frequent first.
  • colorCount — distinct colors found.
  • Colors normalized: #rgb#rrggbb, rgb()/hsl()→hex, alpha dropped.
  • Fail-soft: an unreachable URL returns {ok:false, error} and is never charged.

Input

{ "url": "https://github.com", "urls": ["https://stripe.com"], "maxUrls": 25 }

Output (real run, 2026-08-07)

{
"ok": true,
"url": "https://github.com/",
"status": 200,
"colorCount": 3,
"palette": [
{ "hex": "#bbbbbb", "rgb": "rgb(187, 187, 187)", "count": 2 },
{ "hex": "#ffffff", "rgb": "rgb(255, 255, 255)", "count": 2 },
{ "hex": "#1e2327", "rgb": "rgb(30, 35, 39)", "count": 1 }
]
}

Pricing — $0.0008 per page, no start fee

Prices below checked via the Apify Store API on 2026-08-07:

ActorPricingOne page
This actor$0.0008 per page$0.0008
rainminer/site-palette-extractor$0.0025 start + $0.00099 per item$0.0035
velvety_bedbug/color-api-scraper$0.05 start + $0.003 per item$0.053

Limits (honest ones)

  • Reads colors declared in the served HTML (style blocks, inline styles, theme-color) — colors that only exist in externally-linked CSS files or are computed by JavaScript are not counted.
  • Frequency is a count of textual occurrences, not a pixel-area analysis of the rendered page.
  • maxUrls capped at 100 per run.

FAQ

  • Where do the colors come from? <style> blocks, inline style="...", and theme-color/tile-color meta tags in the page HTML.
  • Does it read external stylesheets? No — only colors present in the page's own HTML.
  • Which color formats are supported? Hex (3/4/6/8 digit), rgb/rgba, and hsl/hsla, all normalized to hex.
  • What about a dead URL? You get an {ok:false, error} record, uncharged.

Use from code or AI agents

curl -X POST "https://api.apify.com/v2/acts/EliAI~webpage-color-palette/runs?token=YOUR_APIFY_TOKEN" \
-H 'content-type: application/json' \
-d '{"url":"https://github.com"}'

Callable as an agent tool through the Apify MCP server (mcp.apify.com).