ホーム/UI/UX 设计/color-palette
C

color-palette

by @jezwebv
4.7(17)

Claude Code CLI向けのスキルで、フルスタック開発、Cloudflare、React、Tailwind v4をカバーします。

Color TheoryColor PalettesUI DesignBrandingAccessibilityGitHub
インストール方法
npx skills add jezweb/claude-skills --skill color-palette
compare_arrows

Before / After 効果比較

1
使用前

デザイン初期段階では、手動での色組み合わせの選択と調整は時間がかかるだけでなく、色彩の不調和が生じやすく、デザイン作品のプロフェッショナリズムと視覚的魅力が欠如する原因となっていました。これにより、修正が繰り返され、デザイン効率と最終的な表現効果に深刻な影響を与えていました。

使用後

スマートカラーパレットツールを導入後、デザイナーは調和のとれたプロフェッショナルな色彩スキームを迅速に生成できるようになり、ブランドの一貫性を確保できます。これにより、色彩決定時間が大幅に短縮され、デザイン作品の視覚的品質と全体的な作業効率が向上し、創造的な表現がよりスムーズになりました。

description SKILL.md

color-palette

Colour Palette Generator

Generate a complete, accessible colour system from a single brand hex. Produces Tailwind v4 CSS ready to paste into your project.

Workflow

Step 1: Get the Brand Hex

Ask for the primary brand colour. A single hex like #0D9488 is enough.

Step 2: Generate 11-Shade Scale

Convert hex to HSL, then generate shades by varying lightness while keeping hue constant:

Shade Lightness Use Case

50 97% Subtle backgrounds

100 94% Hover states

200 87% Borders, dividers

300 75% Disabled states

400 62% Placeholder text

500 48% Brand colour

600 40% Primary actions

700 33% Hover on primary

800 27% Active states

900 20% Text on light bg

950 10% Darkest accents

See references/shade-generation.md for the conversion formula.

Step 3: Map Semantic Tokens

Light mode:

--background: white;
--foreground: primary-950;
--card: white;
--card-foreground: primary-900;
--primary: primary-600;
--primary-foreground: white;
--muted: primary-50;
--muted-foreground: primary-600;
--border: primary-200;

Dark mode — invert lightness while preserving relationships:

--background: primary-950;
--foreground: primary-50;
--card: primary-900;
--card-foreground: primary-50;
--primary: primary-500;
--primary-foreground: white;
--muted: primary-800;
--muted-foreground: primary-400;
--border: primary-800;

Step 4: Check Contrast

WCAG minimum ratios:

  • Text (AA): 4.5:1 normal, 3:1 large (18px+)

  • UI Elements: 3:1

Quick check: primary-600 on white and white on primary-600. See references/contrast-checking.md for formula.

Step 5: Output Tailwind v4 CSS

@theme {
  --color-primary-50: #F0FDFA;
  --color-primary-100: #CCFBF1;
  --color-primary-500: #14B8A6;
  --color-primary-950: #042F2E;

  --color-background: #FFFFFF;
  --color-foreground: var(--color-primary-950);
  --color-primary: var(--color-primary-600);
  --color-primary-foreground: #FFFFFF;
}

.dark {
  --color-background: var(--color-primary-950);
  --color-foreground: var(--color-primary-50);
  --color-primary: var(--color-primary-500);
}

Copy assets/tailwind-colors.css as a starting template.

Common Adjustments

  • Too vibrant at light shades: Reduce saturation by 10-20%

  • Poor contrast on primary: Use shade 700+ for text

  • Dark mode too dark: Use shade 900 instead of 950 for backgrounds

  • Brand colour too light/dark: Adjust to shade 500-600 range

Reference Files

File Purpose

references/shade-generation.md Hex to HSL conversion, lightness values

references/semantic-mapping.md Token mapping for light/dark modes

references/dark-mode-palette.md Inversion patterns

references/contrast-checking.md WCAG formulas, quick check table

assets/tailwind-colors.css Complete CSS output template

Weekly Installs1.0KRepositoryjezweb/claude-skillsGitHub Stars618First SeenJan 20, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled onopencode862gemini-cli839codex803cursor763github-copilot743claude-code739

forumユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数474
評価4.7 / 5.0
バージョン
更新日2026年3月17日
比較事例1 件

ユーザー評価

4.7(17)
5
0%
4
0%
3
0%
2
0%
1
0%

この Skill を評価

0.0

対応プラットフォーム

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

タイムライン

作成2026年3月17日
最終更新2026年3月17日