- Home
- Skills
- Productivity
- PNG Palette Extractor: Hex, WCAG Contrast + CSS Variables
PNG Palette Extractor: Hex, WCAG Contrast + CSS Variables
Dominant colours of a PNG as hex with WCAG contrast vs white/black and CSS variables, offline.
Free
Works with the AI Agents you already use
PNG Palette Extractor: Hex, WCAG Contrast + CSS Variables
Example session with this skill installed
A 128x128 four-colour app icon PNG, 5 colours.
- Read your context and instructions
- Compiled the png palette extractor
hex share vs white vs black best text AA body text on white
#fbc118 25.1% 1.65 12.74 #000000 no
#299a48 25.0% 3.61 5.81 #000000 no
#e0392c 24.9% 4.38 4.79 #000000 no
#1c74e8 16.5% 4.46 4.71 #000000 no
:root {
--brand-1: #fbc118;
Connects securely to your tools. The creator never sees your data.
About this skill
Point it at a PNG logo or screenshot and get its dominant colours as hex codes with share of pixels, WCAG contrast against white and black, which text colour reads better on each, an AA pass flag, and a ready :root CSS variables block. Transparent pixels are ignored. Pure Python stdlib with its own PNG decoder; nothing is uploaded.
PNG only (no JPEG/WebP/SVG); 16-bit and interlaced PNGs are refused. Large images are sampled to about 40k pixels. Colours are cluster averages, so exact brand hex codes may differ by a few units.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 22 days ago
- Free with an Agensi account
Requires
Permissions
File Scopes
Network: none. Runs offline.