WebGradients is a collection of 180 ready-made color gradients provided in CSS3, Figma, Sketch, PSD, and structured JSON formats. Designers and developers use it in interfaces, design tools, generators, and AI-agent workflows, with the catalogue containing an instruction for using the collection.
Borrowing it
Nothing to install: this file belongs to itmeo/webgradients. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/itmeo/webgradients/master/AGENTS.mdgit clone --depth 1 https://github.com/itmeo/webgradientsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/itmeo/webgradients/agents-md)<a href="https://agentmods.dev/instructions/itmeo/webgradients/agents-md"><img src="https://agentmods.dev/badge/instructions/itmeo/webgradients/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/itmeo/webgradients/agents-md"><img src="https://agentmods.dev/badge/instructions/itmeo/webgradients/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01579 | $0.01579 |
| Opus 5.5 | $0.00632 | $0.00632 |
| Sonnet 5.5 | $0.00316 | $0.00316 |
| Haiku 4.5 | $0.00158 | $0.00158 |
Grade A, and why
webgradients AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guidance for AI coding agents (Claude, Cursor, Copilot, etc.) working with this repo. This is a static data repository — 180 curated gradients, no build step, no dependencies.
Files and what they're for
| File | Gradients | Use it for |
|---|---|---|
webgradients.css |
180 (complete, canonical) | Ready-to-use CSS classes. Source of truth for the full set. |
gradients.json |
180 (complete) | Structured metadata regenerated from webgradients.css: name, angle, color stops. Preferred source for programmatic use. |
gradients-parsed.json |
174 | Older structured dataset (site-internal history). Missing the same 6 entries as before (blend-mode composites); its 2 name typos (Arielles Smile, October Silenceiver) have been fixed. Prefer gradients.json for the complete set. |
Fixed: two gradients used to share the name/class Deep Blue (now resolved)
webgradients.css used to define .deep_blue{} twice — index 016 (#e0c3fc→#8ec5fc) and index
039 (#6a11cb→#2575fc) — both commented /*NNN Deep Blue*/. In CSS the later rule wins, so
.deep_blue always rendered index 039's colors; index 016's gradient was unreachable through that class
name. gradients-parsed.json originally called index 039 "Blue Velvet" — a leftover from before it
was renamed to Deep Blue in the CSS without updating this file, which is what caused it to look like a
missing/orphaned entry.
Resolved by keeping the class that was actually live (.deep_blue / index 039, so nothing that already
depended on that class name changes) and giving the previously-unreachable index 016 a new, unique
name: Lilac Sky / .lilac_sky. Applied consistently across webgradients.css, gradients.json,
and gradients-parsed.json. Blue Velvet is retired — index 039 is Deep Blue in all three files now.
Why gradients.json only had 11 entries until now
It was an abandoned 2019 prototype (see git log -- gradients.json) — the real data work happened in
gradients-parsed.json instead, which itself topped out at 174/180 because 6 gradients
(Coup de Grace, Loon Crest, Sharp Glass, Chemic Aqua, Slick Carbon, Earl Gray) use layered
background-blend-mode effects that don't reduce to a single {deg, gradient} pair, so the original
pipeline silently dropped them. gradients.json is now regenerated directly from webgradients.css
(the canonical, complete source) to close that gap:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 102 lines · 1,579 tokens per session scan A 2658613ede9e
webgradients AGENTS.md is an instructions file published in the GitHub repository itmeo/webgradients (2,497 stars, last pushed 3mo ago), licensed MIT. It adds 1,579 tokens to every session, about $0.0063 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
webgradients AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| webgradients AGENTS.mditmeo/webgradients | Instructions file | 2.5k | 3mo ago | MIT | A | 1,579 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |