How to Check Color Roles on Any Website
Learn how to identify a website's background, text, accent, border, and status colors, then turn the findings into a practical design reference.
how to check color roles on any website
To check color roles on any website, map each visible color to a job instead of collecting hex codes at random. Start with the page background, main text, muted text, primary action, secondary action, borders, surfaces, and status colors. Then test each color in its actual context.
Use a role-based checklist
Review the page in this order:
- Canvas: Identify the main page background and alternate section backgrounds.
- Text: Separate primary text, secondary text, placeholder text, and text on colored surfaces.
- Actions: Find the main button color, link color, hover treatment, focus treatment, and selected state.
- Surfaces: Note cards, navigation panels, inputs, menus, badges, and other raised or inset areas.
- Structure: Record divider, border, focus-ring, and shadow colors.
- Status: Look for success, warning, error, and informational colors.
For each role, record the color, where it appears, whether it is solid or transparent, and what it communicates. A color used for a button should not automatically be labeled the brand color. It may be an action color, while the brand color appears in a logo, illustration, or highlight.
The captured example below shows a muted green direction. Dark greens such as #15502e, #14532d, and #233f2a may carry emphasis, while #556659, #4a5a4a, and #799c92 may support text or quieter surfaces. Treat these as observed reference colors, not as universal tokens. The useful question is which shade carries the background, action, text, or supporting role.
Captured pages
Colors
#496c10#15502e#14532d#233f2a#254f1a#1e6f30#295631#556659#4a5a4a#2c7a4a#2a966f#799c92
Check contrast in context
A color can look readable in a palette and fail when used for small text. Test the actual pairing: text against its background, icon against its surface, button label against its fill, and focus ring against the surrounding area.
Use a review table with the role, foreground, background, and result. Check body text on the main canvas, muted text on the main canvas, button text on the primary action, links on the page background, borders on cards or inputs, and focus rings around controls. Review both light and dark sections because a gray that works on white may disappear on a dark panel.
Do not rely on color alone for errors, warnings, or success. Pair color with text, an icon, a label, or a layout change. Also check hover, selected, disabled, and focus states rather than judging only the default appearance.
Turn observations into a usable palette
Reduce the findings to role names rather than a long ungrouped swatch list:
backgroundsurfacesurface-mutedtext-primarytext-secondaryborderaccentaccent-hoverfocussuccesswarningdanger
Keep alternate shades only when the page uses them for a distinct state or layer. Note whether each color is frequent, reserved for emphasis, or limited to decoration. A color that appears once in an illustration or photo is useful visual inspiration, but it is not automatically a reusable interface token.
Save the role, pairing, location, and confidence together. This makes the result useful for comparison or reconstruction without claiming that the site publishes an official token list.
Use this in your AI agent
> Check the color roles on this website. Identify the page and section backgrounds, primary and secondary text, links, buttons, surfaces, borders, focus treatment, and status colors. For each role, report the observed color, where it appears, its approximate frequency, and the foreground/background pairing. Flag weak contrast or colors that appear decorative rather than reusable. Finish with a compact role-based palette and a short checklist for verifying it manually.
Install Fudge for your AI agent to inspect captured references and compare the roles you want to reuse.
How do I tell whether a color is a brand color or just a UI color?
Separate identity from interface use by checking repetition and placement. A likely brand color appears in identity-heavy places such as a logo, wordmark, illustration, page highlight, or recurring campaign treatment. A UI color appears where the interface communicates an action or state, such as buttons, links, selected controls, success messages, or focus indicators.
Then check whether the shade changes by state. A darker hover shade, lighter disabled shade, or stronger selected shade is probably part of an interaction scale. A stable color in a logo or decorative mark is more likely identity-led.
Do not force a single answer. A brand green may also be the primary button color. Record both roles and test whether the pairing works at small sizes. A useful output is brand, action, action-hover, link, and decorative accent, with a note explaining where each was observed.
What should I save after checking a website's colors?
Save a small role table, representative screenshots, and the pairings that matter most. Include the role name, color value, visible location, foreground or background use, approximate frequency, and state such as hover, selected, disabled, or error.
Prioritize body text on the main canvas, muted text on the main canvas, button text on the primary action, links on the page background, borders on cards or inputs, and focus rings around controls. These pairings are more useful than a large ungrouped swatch list.
Also save exceptions. Mark colors that appear only in illustrations, gradients, photos, or campaign sections as visual direction rather than core interface tokens. Finish with one sentence describing the overall pattern so the palette stays tied to the page you reviewed.