# Brand Color & Font Extractor - Website Design Tokens (`launchgrade/design-brief-extractor`) Actor

Turn any website into a design brief: brand colors with roles, fonts and type scale, logo, favicon, CSS variables and design tokens, plus desktop and phone screenshots. Great for redesign pitches, competitor research and AI site builders.

- **URL**: https://apify.com/launchgrade/design-brief-extractor.md
- **Developed by:** [LaunchGrade](https://apify.com/launchgrade) (community)
- **Categories:** Developer tools, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$20.00 / 1,000 site extracteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Brand Color & Font Extractor: website design brief and design tokens

Paste any website and get a **ready-to-use design brief**: the brand **color palette with roles** (background, text, primary action color, accents, surfaces), **heading and body fonts** with sizes and type scale, **corner style**, **logo and favicon**, **desktop and phone screenshots**, **mood tags**, a one-line **style summary**, and **CSS variables** you can paste straight into a new project.

Built for designers, agencies, developers and AI website builders that need to match or reference an existing brand fast.

### What you get for each website

| Field | Example |
|---|---|
| `brief.summary` | "A light modern site: Inter headings over Inter body text, slate text on white, with blue (#533afd) as the action color, slightly rounded corners, and a 3.4x heading-to-body type scale." |
| `brief.colors` | `background`, `text`, `primary`, `accents`, `surfaces`, `primaryButtonText`, `textOnBackgroundContrast` (WCAG ratio) |
| `brief.palette` | Up to 8 dominant colors with plain-English names |
| `brief.typography` | Heading and body font, font class (serif, sans-serif, display, script, mono), weights, sizes, line height, type scale, web-font links |
| `brief.shape` | Button corner radius and style (sharp, slightly rounded, rounded, pill) |
| `brief.layout` | Nav links, image count, hero image, page height, amount of copy |
| `brief.moodTags` | e.g. `light`, `vibrant`, `modern/clean`, `big hero type`, `friendly` |
| `brief.cssVariables` | `:root { --color-bg: …; --color-primary: …; --font-heading: …; --radius: … }` |
| `logo` | Logo image URL or inline SVG markup |
| `icons` | Favicon and apple-touch-icon URLs |
| `screenshots` | Public links to desktop (1440 px) and phone (390 px) screenshots, plus an optional full page |
| `title`, `description`, `ogImage`, `themeColorMeta` | Page metadata |

### Use cases

- **Website redesigns and pitches**: capture a client's current brand in seconds before you start.
- **AI site and app builders**: feed real brand colors and fonts into your generator so output looks on-brand, not generic.
- **Competitor and inspiration research**: compare palettes, fonts and styles across many sites in one table.
- **Brand audits**: spot low text contrast, too many fonts or inconsistent buttons.

### How to use it

1. Paste one or more URLs into **Websites**.
2. Choose whether to save screenshots (on by default) and set **Max sites per run** as your cost cap.
3. Click **Start**, then open the table or export JSON, CSV or Excel. Screenshots are linked in each row.

```json
{
  "urls": ["https://example.com", "https://another-brand.com"],
  "screenshots": true,
  "fullPageScreenshot": false,
  "maxSites": 20
}
```

Works from the API, schedules, Zapier, Make, n8n, and AI agents through Apify's MCP server.

### Example input

```json
{
  "urls": [
    "https://www.python.org"
  ],
  "maxSites": 1
}
```

### Example output (one dataset row from a real run)

```json
{
  "inputUrl": "https://www.python.org",
  "extractedAt": "2026-11-23T05:40:11.139784+00:00",
  "finalUrl": "https://www.python.org/",
  "statusCode": 200,
  "ok": true,
  "title": "Welcome to Python.org",
  "description": "The official home of the Python Programming Language",
  "siteName": "Python.org",
  "lang": "en",
  "themeColorMeta": null,
  "ogImage": "https://www.python.org/static/opengraph-icon-200x200.png",
  "logo": {
    "score": 6,
    "type": "img",
    "url": "https://www.python.org/static/img/python-logo.png",
    "alt": "python™"
  },
  "icons": [
    {
      "rel": "icon",
      "href": "https://www.python.org/static/favicon.ico",
      "sizes": ""
    },
    {
      "rel": "apple-touch-icon",
      "href": "https://www.python.org/static/apple-touch-icon-precomposed.png",
      "sizes": ""
    }
  ],
  "brief": {
    "theme": "light",
    "colors": {
      "background": "#ffffff",
      "text": "#666666",
      "primary": "#ffd343",
      "accents": [
        "#2b5b84",
        "#1e2933"
      ],
      "surfaces": [
        "#2b5b84",
        "#e6e8ea"
      ],
      "textOnBackgroundContrast": 5.74,
      "primaryButtonText": "#4d4d4d"
    },
    "palette": [
      {
        "hex": "#f9f9f9",
        "name": "white"
      },
      {
        "hex": "#2b5b84",
        "name": "blue"
      },
      {
        "hex": "#1e2933",
        "name": "slate"
      },
      {
        "hex": "#1c3b56",
        "name": "dark blue"
      }
    ],
    "typography": {
      "headingFont": "SourceSansProBold",
      "headingClass": "sans-serif",
      "headingWeight": "400",
      "headingTransform": "none",
      "bodyFont": "SourceSansProRegular",
      "bodyClass": "sans-serif",
      "h1SizePx": 21,
      "h2SizePx": 24.1501,
      "bodySizePx": 16,
      "lineHeight": "26px",
      "typeScale": 1.31,
      "allFonts": [
        "SourceSansProRegular",
        "Consolas",
        "Flux-Bold",
        "Flux-Regular"
      ],
      "webfontLinks": []
    },
    "shape": {
      "buttonRadiusPx": 6,
      "corners": "slightly rounded"
    },
    "layout": {
      "navLinks": 9,
      "images": 1,
      "heroImage": true,
      "pageHeightPx": 2571,
      "textChars": 4073
    },
    "moodTags": [
      "light",
      "vibrant",
      "modern/clean"
    ],
    "summary": "A light modern site: SourceSansProBold (sans-serif) headings over SourceSansProRegular (sans-serif) body text, gray text on white, with yellow (#ffd343) as t...",
    "cssVariables": ":root {\n  --color-bg: #ffffff;\n  --color-text: #666666;\n  --color-primary: #ffd343;\n  --color-accent-1: #2b5b84;\n  --color-accent-2: #1e2933;\n  --font-headin..."
  },
  "screenshots": {
    "desktop": "https://api.apify.com/v2/key-value-stores/.../records/...",
    "phone": "https://api.apify.com/v2/key-value-stores/.../records/..."
  }
}
```

### Pricing

**$0.02 per website extracted.** Sites that fail to load are **not charged**. Runs stop at **Max sites per run** and at your Apify max-charge setting.

#### Pricing examples

- 100 sites: $2.00
- 1,000 sites: $20.00
- 10,000 sites: $200.00

You pay only for results delivered, and the run stops at your max cost per run.

### Notes

- Analyzes the page as a real browser renders it (fonts and colors are computed styles, not guesses from CSS files).
- Reads only the public page you provide. No logins, no personal data, nothing is stored beyond your run's own storage.
- Font names are reported as the site declares them. Commercial fonts may need a license to reuse.

### FAQ

**Does it copy the site?** No. It reads computed styles and takes screenshots for reference only.

### More tools from LaunchGrade

Website audits, link checking, domain research, lead lists and data exporters, all pay-per-result: [apify.com/launchgrade](https://apify.com/launchgrade).

# Actor input Schema

## `urls` (type: `array`):

Homepages or pages to analyze, one per line (example.com or https://example.com).

## `screenshots` (type: `boolean`):

Save desktop (1440px) and phone (390px) first-screen screenshots.

## `fullPageScreenshot` (type: `boolean`):

Adds a long desktop screenshot of the whole page.

## `maxSites` (type: `integer`):

Extra sites are skipped so a run can't cost more than you expect.

## `pageTimeoutSecs` (type: `integer`):

How long to wait for each page before marking it failed.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com"
  ],
  "screenshots": true,
  "fullPageScreenshot": false,
  "maxSites": 20,
  "pageTimeoutSecs": 30
}
```

# Actor output Schema

## `results` (type: `string`):

One row per website: palette, fonts, logo, screenshots and CSS variables.

## `files` (type: `string`):

Desktop and phone screenshots stored in the key-value store.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("launchgrade/design-brief-extractor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": ["https://apify.com"] }

# Run the Actor and wait for it to finish
run = client.actor("launchgrade/design-brief-extractor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://apify.com"
  ]
}' |
apify call launchgrade/design-brief-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,launchgrade/design-brief-extractor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Fr16SNKwF28vRus3l/builds/A1unnEjjYiFdA9bt2/openapi.json
