Skills for Real Engineers. Straight from my .agents directory.
color-palette
Agent skill fromjezweb/claude-skills
Generate complete, accessible colour palettes from a single brand hex. Produces 11-shade scale (50-950), semantic tokens, dark mode variants, Tailwind v4 CSS output, WCAG contrast checks. Use whenever the user supplies a brand hex and asks for a palette, mentions setting up a design system, wants Tailwind theme colours from a brand colour, or asks to check colour accessibility / contrast.
How to install color-palette
npx skills add jezweb/claude-skills# or add only this skill to Claude Code: copy the folder
plugins/design-assets/skills/color-palette/
# into
~/.claude/skills/color-palette/ (all projects)
.claude/skills/color-palette/ (one project)
1# Colour Palette Generator23Generate a complete, accessible colour system from a single brand hex. Produces Tailwind v4 CSS ready to paste into your project.45## Workflow67### Step 1: Get the Brand Hex89Ask for the primary brand colour. A single hex like `#0D9488` is enough.1011### Step 2: Generate 11-Shade Scale1213Convert hex to HSL, then generate shades by varying lightness while keeping hue constant.1415#### Hex to HSL Conversion1617```javascript18function hexToHSL(hex) {19 hex = hex.replace(/^#/, '');20 const r = parseInt(hex.substring(0, 2), 16) / 255;21 const g = parseInt(hex.substring(2, 4), 16) / 255;22 const b = parseInt(hex.substring(4, 6), 16) / 255;2324 const max = Math.max(r, g, b);25 const min = Math.min(r, g, b);26 const diff = max - min;2728 let l = (max + min) / 2;29 let s = 0;30 if (diff !== 0) {31 s = l > 0.5 ? diff / (2 - max - min) : diff / (max + min);32 }3334 let h = 0;35 if (diff !== 0) {36 if (max === r) h = ((g - b) / diff + (g < b ? 6 : 0)) / 6;37 else if (max === g) h = ((b - r) / diff + 2) / 6;38 else h = ((r - g) / diff + 4) / 6;39 }4041 return { h: Math.round(h * 360), s: Math.round(s * 100), l: Math.round(l * 100) };42}43```4445#### Lightness and Saturation Values4647| Shade | Lightness | Saturation Mult | Use Case |48|-------|-----------|-----------------|----------|49| 50 | 97% | 0.80 | Subtle backgrounds |50| 100 | 94% | 0.80 | Hover states |51| 200 | 87% | 0.85 | Borders, dividers |52| 300 | 75% | 0.90 | Disabled states |53…
Excerpt shown under the repository's MIT license.
More skills in claude-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
