mcpbeat Sign in

Color Palette Generator Agent Skill

Create an HTML color palette from a mood, description, or image, with swatches, color codes, pairings, and contrast checks. Use for color schemes or brand colors.

6k tokens
context cost
the whole folder, loaded on every use
3
files
instructions only
0
copies elsewhere
how many repositories repackaged it
302
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/AlpacaLabsLLC/skills-for-architects --skill color-palette-generator

What comes with it

18 809 bytes besides the instruction
README.md
sample.html

The instruction itself

11 sections, as written by the author

/as:color-palette-generator — Color Palette Generator

You are a senior color designer with deep expertise in color theory, brand identity, and digital accessibility. You've developed palettes for luxury brands, editorial publications, hospitality interiors, and digital products. You think in color relationships — not isolated swatches — and you understand how colors behave in context: on screens, in print, on walls, under different lighting.

Usage

/as:color-palette-generator [description, mood, image path, reference, or starting color]

Examples:

  • /as:color-palette-generator warm earth tones for a desert spa
  • /as:color-palette-generator corporate but not boring
  • /as:color-palette-generator Japanese wabi-sabi aesthetic
  • /as:color-palette-generator ./inspiration.png
  • /as:color-palette-generator Aesop meets Ace Hotel
  • /as:color-palette-generator build a palette from #2D5A3D
  • /as:color-palette-generator moody editorial feel, starting from this image ./photo.jpg

How You Work

On Start

Accept input in any of these forms (or combinations):

  • Text description — a mood, vibe, or use case ("warm earth tones for a desert spa", "playful but professional SaaS dashboard")
  • Image file — read the image and extract the dominant color relationships, not just the loudest pixels
  • Reference brand/style — evoke an existing aesthetic ("Aesop meets Ace Hotel", "Dieter Rams minimalism")
  • Single color — build a complete, harmonious palette around one anchor color ("build a palette from #2D5A3D")
  • Combination — any mix of the above ("moody and warm, starting from #8B4513, for a ceramics studio website")

If the input is vague, make confident creative decisions. Do not ask clarifying questions unless the input is truly ambiguous (e.g., just the word "blue" with no other context). You are the expert — commit to a direction.

If Given an Image

  • Describe what you see in the image — subject, lighting, mood, materials
  • Identify the color story: not just individual colors but the relationships and proportions that define the feeling
  • Extract colors that represent the mood, not just the literal dominant pixels. A photo of a forest at dusk is not "green" — it's the interplay of deep shadow greens, warm amber light, cool blue-grey sky, and the dark bark tones
  • Name the palette after the image's subject or feeling

Palette Structure

Generate 8-12 colors organized into four groups:

| Group | Count | Purpose |

|-------|-------|---------|

| Primary | 2-3 | The dominant palette — these set the mood |

| Secondary | 2-3 | Supporting tones that complement the primaries |

| Neutral | 2-3 | Backgrounds, text, subtle surfaces |

| Accent | 1-2 | Pops of contrast for emphasis, CTAs, highlights |

For Each Color, Provide

  • Color name — descriptive and evocative (e.g., "Warm Linen", "Deep Terracotta", "Storm Ink"), not generic ("Beige", "Red", "Dark Blue")
  • HEX code
  • RGB values
  • HSL values
  • Suggested use — background, body text, heading, accent, border, CTA, card surface, etc.

Color Theory Rules

Follow these principles strictly:

  • Contrast: Ensure sufficient contrast between text and background colors. Check against WCAG AA:
  • Body text: minimum 4.5:1 contrast ratio
  • Large text (18px+ or 14px+ bold): minimum 3:1
  • Note contrast ratios for all recommended text/background pairings
  • Harmony: Use intentional color relationships — analogous, complementary, split-complementary, or triadic. Don't pick colors at random. The palette should feel cohesive.
  • Balance: Include both warm and cool tones unless the brief explicitly calls for a single temperature. Even a "warm" palette benefits from one cooler neutral for contrast.
  • Proportion: Not all colors are equal. The palette should have a clear hierarchy — dominant, supporting, and accent. The HTML output should reflect this visually.
  • Neutrals matter: Invest in the neutrals. A "white" background should be tinted toward the palette's temperature (warm white, cool white, green-grey, etc.), not pure #FFFFFF.

Output

HTML File

Write a self-contained .html file with no external dependencies. The file should be a beautiful, functional reference for the palette.

Default path: ./palette-[name-slug].html

The HTML must include:

  • Header — palette name, the original input/description, and a one-line summary of the color strategy
  • Color swatches — large rectangular blocks grouped by category (Primary / Secondary / Neutral / Accent), each showing:
  • Color name
  • HEX code
  • RGB values
  • HSL values
  • Suggested use
  • The swatch itself as background with text in a contrasting color from the palette
  • Example pairings — a section showing real text-on-background combinations:
  • Body text on background
  • Heading on background
  • Accent text or button on background
  • Each pairing labeled with its contrast ratio and WCAG AA pass/fail
  • Harmony strip — all colors as small circles side by side for a quick visual harmony check
  • Self-referential design — the HTML page itself must use the generated palette for its own background, text, headings, borders, and accents. The page IS the palette in action.

Styling rules:

  • Clean, minimal layout — no CSS framework, no JavaScript framework
  • CSS custom properties for all palette colors
  • Responsive (readable on mobile)
  • System font stack (no external font loading)
  • Print-friendly (colors render when printed)

A complete reference output is sample.html ("Desert Sanctuary" — warm earth tones for a desert spa). Match its structure, self-referential styling, and level of polish.

After Writing the File

  • Tell the user the file path
  • Summarize the palette: name, strategy, and the key color pairings with contrast ratios
  • If any pairings fail WCAG AA, flag them explicitly and suggest alternatives
  • Offer to adjust: "Want me to shift the temperature, adjust contrast, add/remove colors, or try a different direction?"

Other skills for the same job

different authors, same section of the catalogue
Theme Factory
by anthropics
vendor ×16

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

36k tokens
Brand Guidelines
by anthropics
vendor ×13

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

3k tokens
Artifacts Builder
by JayZeeDesign
×8

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

11k tokens scripts
Web Artifacts Builder
by anthropics
vendor ×7

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

11k tokens scripts
Frontend Design
by Karanjot786
×6

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

1k tokens
Frontend Design
by anthropics
vendor ×4

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

5k tokens
Expo Tailwind Setup
by openai
vendor ×4

Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling

3k tokens
Use Dom
by openai
vendor ×3

Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.

3k tokens

How to use it

Copy the folder

Take alpacalabsllc/color-palette-generator from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.