Extract brand color hex codes from a website's CSS variables into a portable Python script. Use when: Identify primary and accent brand colors from a live URL; Generate a reusable Python script for color audits; Speed up UI development by matching existing design tokens.
60%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./plugins/nex-web-audits/skills/nex-brand-palette-lite/SKILL.mdThe canonical home for this skill is nex-brand-palette-lite in NexaiGuy/nex-ai-skills
Free skill by Nex AI. This file is the public guide from Agensi. Scripts, extension source, and templates from the original package are not in this folder.
Manually digging through DevTools to find a brand's specific hex codes is tedious. Design workflows often stall when you need to match a site's primary palette but colors are hidden behind CSS variables.
Python, CSS Custom Properties (Variables).
Generic prompts often fail to target the specific naming conventions used in modern design systems. This skill provides a focused extraction logic that ignores utility noise and targets meaningful brand tokens out of the box.
Cannot extract colors set via JavaScript or hidden in external shadow DOMs. Limited to CSS variables only, it does not analyze images or computed styles.
Request
Extract the brand colors from https://example.com using CSS variables.
Result
I have generated assets/palette_lite.py. This script will fetch the site and extract variables like --primary and --brand-color. Run it to get the hex codes.
The skill identifies and extracts CSS custom properties (variables) like --primary or --brand from a website's code and compiles them into a portable Python script for easy reuse.
You will receive the core logic for the extraction process, along with a standalone Python script that functions using only standard libraries, requiring no additional third-party installations.
This skill is designed to work with any AI agent that supports Python execution or code generation, making it compatible with most major LLMs and automation frameworks.
No, this skill is specifically optimized to target CSS variables; it does not perform image processing or analyze computed styles from rendered pixels.
Setting up is simple: just provide the URL of the site you wish to analyze, and the skill will generate the necessary code to scrape and filter the brand tokens automatically.
The skill works best on public URLs with standard CSS naming conventions; however, it cannot access colors protected by login screens or those stored within a shadow DOM.
Built by Nex AI. More skills, including the paid catalog: https://www.agensi.io/creators/ch1n4-g3nd4x
NexaiGuy/nex-ai-skills
4034c84
Canonical home
since Nov 1, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.