Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add subhansh-dev/agent-maxxing --skill color-and-contrastgit clone --depth 1 https://github.com/subhansh-dev/agent-maxxingWrote 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/skills/subhansh-dev/agent-maxxing/color-and-contrast)<a href="https://agentmods.dev/skills/subhansh-dev/agent-maxxing/color-and-contrast"><img src="https://agentmods.dev/badge/skills/subhansh-dev/agent-maxxing/color-and-contrast/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/skills/subhansh-dev/agent-maxxing/color-and-contrast"><img src="https://agentmods.dev/badge/skills/subhansh-dev/agent-maxxing/color-and-contrast.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.00023 | $0.01464 |
| Opus 5.5 | $0.00009 | $0.00586 |
| Sonnet 5.5 | $0.00005 | $0.00293 |
| Haiku 4.5 | $0.00002 | $0.00146 |
Grade A, and why
color-and-contrast 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 — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Color & Contrast
Color Spaces: Use OKLCH
Stop using HSL. Use OKLCH (or LCH) instead. It's perceptually uniform, meaning equal steps in lightness look equal—unlike HSL where 50% lightness in yellow looks bright while 50% in blue looks dark.
/* OKLCH: lightness (0-100%), chroma (0-0.4+), hue (0-360) */
--color-primary: oklch(60% 0.15 250); /* Blue */
--color-primary-light: oklch(85% 0.08 250); /* Same hue, lighter */
--color-primary-dark: oklch(35% 0.12 250); /* Same hue, darker */
Key insight: As you move toward white or black, reduce chroma (saturation). High chroma at extreme lightness looks garish. A light blue at 85% lightness needs ~0.08 chroma, not the 0.15 of your base color.
Building Functional Palettes
The Tinted Neutral Trap
Pure gray is dead. Add a subtle hint of your brand hue to all neutrals:
/* Dead grays */
--gray-100: oklch(95% 0 0); /* No personality */
--gray-900: oklch(15% 0 0);
/* Warm-tinted grays (add brand warmth) */
--gray-100: oklch(95% 0.01 60); /* Hint of warmth */
--gray-900: oklch(15% 0.01 60);
/* Cool-tinted grays (tech, professional) */
--gray-100: oklch(95% 0.01 250); /* Hint of blue */
--gray-900: oklch(15% 0.01 250);
The chroma is tiny (0.01) but perceptible. It creates subconscious cohesion between your brand color and your UI.
Palette Structure
A complete system needs:
| Role | Purpose | Example |
|---|---|---|
| Primary | Brand, CTAs, key actions | 1 color, 3-5 shades |
| Neutral | Text, backgrounds, borders | 9-11 shade scale |
| Semantic | Success, error, warning, info | 4 colors, 2-3 shades each |
| Surface | Cards, modals, overlays | 2-3 elevation levels |
Skip secondary/tertiary unless you need them. Most apps work fine with one accent color. Adding more creates decision fatigue and visual noise.
The 60-30-10 Rule (Applied Correctly)
This rule is about visual weight, not pixel count:
- 60%: Neutral backgrounds, white space, base surfaces
- 30%: Secondary colors—text, borders, inactive states
- 10%: Accent—CTAs, highlights, focus states
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 · 138 lines · 23 tokens per session scan A 954bca2367cf
color-and-contrast is a skill published in the GitHub repository subhansh-dev/agent-maxxing (4 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 1,464 once invoked, about $0.0001 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-09-03.
color-and-contrast compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| color-and-contrastsubhansh-dev/agent-maxxing | Skill | 4 | 4mo ago | MIT | A | 23 | Claude Code, Codex |
| frontend-designHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 21 | Claude Code, Codex |
| genuiLodyAI/Lody | Skill | 1.9k | today | Apache-2.0 | A | 66 | Claude Code, Codex |
| frame-build-minimalnexu-io/html-video | Skill | 5.0k | 14d ago | Apache-2.0 | A | 27 | Claude Code, Codex |
| ui_lookrazzant/ouroboros | Skill | 1.7k | today | MIT | A | 49 | Claude Code |
| frontend-designitmisx/deepx-code | Skill | 394 | 15d ago | MIT | A | 88 | Claude Code, Codex |
| design-skillOverbrilliant/ob-1 | Skill | 50 | 13d ago | Apache-2.0 | A | 82 | Claude Code, Codex |