Website color palette extractor
Paste a website address and get every color it uses: backgrounds, text, borders and gradients, with how often each one appears. Export the palette as CSS variables, Tailwind or JSON.
How to get the color palette of a website
- Paste the address of the page, for example stripe.com, and press Get colors.
- Read the palette: each color shows its HEX code, where it is used (background, text, border, gradient or a CSS variable) and how often.
- Switch between HEX, RGB and HSL, click a color to copy it, or export the whole palette as CSS variables, Tailwind v4, Tailwind v3 or JSON tokens.
What the extractor reads
It reads the page's HTML and up to 20 of its stylesheets, the way a server sees them, and collects every color written in the CSS: hex codes, rgb(), hsl() and named colors. Each color is given the role it is used for most often, and colors defined as CSS variables, such as --brand-primary, are listed by name, which is usually the closest thing to the site's own design tokens.
- Backgrounds from
backgroundandfill. - Text from
color. - Borders from
border,outlineandstroke. - Gradients and shadows, kept apart so they do not crowd the main palette.
When a color is missing
A server sees the page before its scripts run. Colors that a site adds with JavaScript, colors inside images, and pages behind a login are not in that first HTML. For those, the Design Toolkit extension reads the live page in your own browser and shows every color it really draws, in its side panel.
Read the palette of the live page. The Page tab of the Design Toolkit side panel lists every color the page really draws, after scripts run and behind a login, and exports it as CSS variables, Tailwind, Figma swatches or JSON. How it works
Questions
How do I find the color palette of a website?
Paste its address into this extractor and press Get colors. You get every color in its CSS with its role and how often it is used, ready to copy or export.
Can I get the HEX codes of a website's colors?
Yes. Every color is shown as HEX, and you can switch the list to RGB or HSL. Click a color to copy its code.
Can I export a website palette to Tailwind?
Yes. Export the palette as a Tailwind v4 @theme block or a Tailwind v3 config, as CSS variables or as JSON tokens.
Why are some colors missing?
The extractor reads the page as a server sees it, before scripts run. Colors added by JavaScript, colors inside images and pages behind a login need a browser extension such as Design Toolkit.
Is this color extractor free?
Yes. It is free, needs no account and saves nothing.