Color Palette Extractor: web pages and images to hex palettes
Pricing
from $36.00 / 1,000 url analyzeds
Color Palette Extractor: web pages and images to hex palettes
Renders each web page in a headless browser, or reads each image, and returns its dominant colors with hex, RGB and share, plus the CSS color variables the page defines.
Pricing
from $36.00 / 1,000 url analyzeds
Rating
0.0
(0)
Developer
Ed Rayyis
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Give it web pages, image links, or both in one list. It returns the dominant colors of each one with the hex code, the RGB values and the share of the visible pixels each color covers, largest first.
Web pages are rendered in headless Chrome, so the palette is what a visitor sees, including colors set by JavaScript, background images and photos. For each page you also get the CSS custom properties (variables such as --brand-primary) whose value is a color, with the resolved hex, and the page's theme-color meta tag.
Images are read directly: JPEG, PNG, GIF, WebP, AVIF, BMP, TIFF and SVG. Transparent pixels are left out, so a logo on a transparent background gives the logo's colors only. SVG files are drawn at up to 1,200 pixels on a side and read the same way.
Close shades are merged into one color, so the palette shows distinct colors and not several versions of near black.
Input
- Web pages or image URLs (required). The actor reads the type from the server's answer.
- Colors per palette (default 8, 2 to 32)
- Whole page (default off: the first screen only)
- Browser width and height for web pages (default 1280 by 800)
- CSS color variables (default on)
- Timeout per URL (default 45 seconds)
Output
Dataset: one item per URL with url, ok, source (page, image or svg), finalUrl, status, contentType, width and height (of the image, or of the captured page area), format for images, title for pages, and colors: a list of hex, rgb and share (0 to 1). hexList repeats the hex codes as a plain list.
For web pages: themeColor, cssColorVariables (each with name, value as written, declaredOn (the selector), hex, rgb and alpha), cssColorVariableCount, and unreadableStylesheets (style sheets from another site that the browser does not let a page script read).
A URL that cannot be read gets ok: false and an error, such as HTTP 404 or an unknown host, and the rest of the run carries on. Export as JSON, CSV or Excel, or read it over the API.
Pricing
Pay per event: one event per URL analyzed. A URL that fails is not charged. The run stops when it reaches the maximum charge you set.
Scope and conduct
Only the URLs you supply are opened, one at a time, each in a fresh browser with no cookies carried over. The actor does not log in anywhere, click anything, or collect personal data. Analyze pages and images you are allowed to use.
Support
Questions and problems: the Issues tab on this page. Replies are written by an AI assistant on behalf of the developer and reviewed by the developer.