Website Color Palette – Brand Colors, Design Tokens & Tailwind avatar

Website Color Palette – Brand Colors, Design Tokens & Tailwind

Pricing

from $2.00 / 1,000 site analyzeds

Go to Apify Store
Website Color Palette – Brand Colors, Design Tokens & Tailwind

Website Color Palette – Brand Colors, Design Tokens & Tailwind

Extract any website's color palette and design tokens: primary, secondary, accent, background and text colors (HEX, RGB, HSL), CSS variables, fonts, radius, shadows, 50-950 scales, a ready Tailwind v4 theme and CSS variables file, WCAG contrast pairs. Bulk domains, no browser. $2 per 1,000 sites.

Pricing

from $2.00 / 1,000 site analyzeds

Rating

0.0

(0)

Developer

Cemal Atakli

Cemal Atakli

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Website Color Palette – Brand Colors, Design Tokens & Tailwind Theme

Extract any website's color palette and design tokens from its real CSS: primary, secondary, accent, background, surface, text and muted colors (HEX, RGB and HSL), CSS custom properties, 50–950 color scales, fonts and font sizes, border radius and shadows, and WCAG contrast pairs — plus ready-to-use files: a Tailwind CSS v4 @theme, a CSS variables file and a design tokens JSON.

Paste a list of domains and get one row per site. No browser, so it is fast and cheap: $2 per 1,000 sites.

What you can use it for

  • Redesign pitches and mockups – start a proposal or Figma file in the prospect's own colors and fonts.
  • Clone a brand into a UI kit – drop the generated Tailwind v4 theme or :root variables straight into a project.
  • On-brand marketing assets – get exact HEX codes and readable text/background pairs for ads, decks and emails.
  • Accessibility checks – every palette comes with WCAG AA / AAA contrast ratios for its main pairs.
  • Competitor and market research – compare palettes, typography and design systems across hundreds of sites.
  • AI design tools and agents – structured design tokens instead of raw HTML or screenshots.

Output (one row per site)

FieldWhat it is
domain, finalUrlthe site and the page that was read after redirects
primary, secondary, accent, background, textquick HEX values
paletteprimary, secondary, accent, background, surface, text, muted – each with hex, rgb, hsl, usageCount and how the role was chosen
allColorsranked colors with HEX/RGB/HSL, usage, share and roles (background, text, border, button, token)
scales50–950 shades for primary, secondary and accent (OKLCH lightness steps, like Tailwind's palette)
cssVariablesCSS custom properties with value, category (color, spacing, radius, font, shadow…) and usage count
fontsheading, body, mono, Google Fonts, Adobe Fonts flag
fontSizes, radius, shadowsmost used values
contrastPairsfg, bg, ratio, aa, aaLarge, aaa
cssFileUrl, tailwindThemeUrl, tokensJsonUrllinks to the generated files in the run's key-value store
tailwindThemethe Tailwind v4 theme as text, ready to paste
confidencehigh, medium or low (low = fewer than 3 colors / very little CSS)
blockedBy, errorwhy a site could not be read (not charged)

Dataset views: Palette overview, Design tokens, WCAG contrast, Generated files.

Example (stripe.com, shortened)

{
"domain": "stripe.com",
"primary": "#533afd",
"secondary": "#061b31",
"accent": "#5d64fe",
"background": "#ffffff",
"text": "#1a1a1a",
"palette": {
"primary": {"hex": "#533afd", "rgb": [83, 58, 253], "hsl": [248, 98, 61], "usageCount": 53.6},
"surface": {"hex": "#e5edf5", "rgb": [229, 237, 245], "hsl": [210, 47, 93], "usageCount": 68.0}
},
"scales": {"primary": {"50": "#f3f5ff", "500": "#7278ff", "700": "#533afd", "950": "#1b0967", "base": "700"}},
"fonts": {"heading": "sohne-var", "body": "sohne-var", "mono": "SourceCodePro"},
"contrastPairs": [{"fg": "#533afd", "bg": "#ffffff", "ratio": 6.19, "aa": true, "aaa": false}],
"confidence": "high"
}

Generated Tailwind v4 file:

@import "tailwindcss";
@theme {
--color-primary: #533afd;
--color-background: #ffffff;
--color-text: #1a1a1a;
--color-primary-50: #f3f5ff;
/* … 50–950 for primary, secondary, accent … */
--font-body: sohne-var, sans-serif;
--font-mono: SourceCodePro, monospace;
--radius-sm: 1px;
/* … radius-md … radius-3xl from the site's most used values … */
--shadow-1: 0 27px 40.5px -27px rgba(50,50,93,.25),0 16.2px 32.4px -16.2px rgba(0,0,0,.1);
/* … shadow-2 … shadow-4, most used first … */
}

How it works

  1. Fetches the home page (or the URL you give) and up to 8 of the site's own stylesheets (2 MB in total), plus inline <style> and style="" attributes. Third-party CSS (widgets, cookie banners, CSS libraries on public CDNs) is skipped so it does not pollute the palette.
  2. Counts every color by where it is used. Button / call-to-action rules weigh most, then headings; code-highlighting themes are ignored. Colors behind var(--token) are weighted by how often the token is used. Near-identical shades are merged.
  3. Maps colors to roles: the most used colorful colors become primary / secondary / accent (colors the site declares in theme-color or its web manifest come first); the most used neutral background becomes background; the most used readable text grey becomes text.
  4. Builds the 50–950 scales in OKLCH (perceptual lightness), computes WCAG 2.x contrast ratios, and writes the files.

Input

  • Websites – domains or URLs (stripe.com, https://www.example.com/pricing).
  • Bulk list – paste many domains separated by new lines or commas.
  • Domains from a dataset + Dataset field – read sites from another run's dataset (e.g. a lead list with a website field).
  • Max brand colours (8), Generate 50–950 colour scales (on), Generated files (CSS, Tailwind, JSON), Include fonts (on), Sites in parallel (10).
{
"domains": ["stripe.com", "github.com", "notion.so"],
"outputFiles": ["css", "tailwind", "json"],
"generateScales": true
}

Pricing

Pay per event: $0.002 per site analyzed ($2 per 1,000) plus a tiny start fee. You are not charged for sites that are blocked (robots.txt, HTTP 401/403/429…), unreachable, or that have no readable CSS. The generated files are included.

ActorPrice per site
This Actor$0.002
hydrafetch/website-color-palette-extractor$0.04
koushikbiswas/site-lensfrom $0.02
eiv/website-brand-extractor-pay-per-event$0.002
eliai/webpage-color-palette$0.0008

Prices as listed in the Apify Store on 12 Nov 2026.

Limits (honest)

  • No browser. Sites that build all their styles with JavaScript at runtime (CSS-in-JS, some single-page apps) expose little CSS; those rows get confidence: "low" or "medium". Sites with no readable CSS at all are returned as errors and are not charged.
  • Colors in images, videos and canvas are not seen – this reads CSS, not pixels.
  • Role mapping is a heuristic: on dark-themed sites or sites with many sections, check allColors too.
  • Respects robots.txt (user agent token WebsiteColorPalette) and Crawl-delay. Sends an honest User-Agent; no proxies. Sites behind bot protection return blockedBy and are free.
  • Private and internal network addresses are never fetched.

FAQ

Does it work with a list of thousands of domains? Yes – up to 10,000 per run via the list, the bulk text box or a dataset. One row per site.

Where are the generated files? In the run's key-value store, named <domain>-variables.css, <domain>-tailwind.css and <domain>-tokens.json. Each row links to them; the Tailwind theme is also inline in tailwindTheme.

What is the tokens JSON format? The W3C Design Tokens Community Group format ($value, $type), which Style Dictionary and Figma token plugins can import.

Do I also get logos and social links? Use our Website Brand Kit Extractor for logos, favicons and social profiles. This Actor focuses on colors and design tokens.

Use with AI agents (Apify MCP)

Add this Actor to Claude, Cursor or any MCP client through the Apify MCP server and ask, for example: "Get the color palette and a Tailwind theme for linear.app and vercel.com." The structured palette, scales and tailwindTheme fields are ready for an LLM to use without extra parsing.