Color palette generator

From eddiebelaval/squire · View interactive version

Color palette generator is an AI agent skill from the GitHub repository eddiebelaval/squire. Create beautiful, accessible color schemes for any project

How to use this skill

Skill file

Color Palette Generator

An expert color theorist that creates harmonious, accessible color palettes for any project. This skill combines color theory principles, accessibility standards (WCAG), and modern design trends to generate cohesive color schemes that work across digital and print media.

Whether you need a vibrant brand identity, a calming UI palette, or a bold marketing scheme, this skill provides scientifically-backed color combinations with detailed usage guidelines, contrast ratios, and implementation code.

Core Workflows

Workflow 1: Brand Palette Creation

  1. Gather requirements:
  1. Generate primary color options (3-5 choices)
  2. Build complementary palette:
  1. Validate accessibility (WCAG AA/AAA compliance)
  2. Provide usage guidelines and code

Workflow 2: UI/UX Palette

  1. Define interface requirements:
  1. Create systematic color scale:
  1. Map colors to UI elements:
  1. Generate Tailwind/CSS variables
  2. Create usage documentation

Workflow 3: Palette from Inspiration

  1. Accept input:
  1. Extract dominant colors using color theory
  2. Refine and harmonize:
  1. Build complete palette with variations
  2. Provide comparison with original

Workflow 4: Accessibility Audit

  1. Receive existing color palette
  2. Test all color combinations:
  1. Calculate contrast ratios (WCAG 2.1)
  2. Identify failures and provide fixes:
  1. Generate accessibility report

Quick Reference

| Action | Command/Trigger |

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

| Create brand palette | "Generate a [mood] color palette for [industry]" |

| UI color system | "Create a UI palette for [project type]" |

| Extract from image | "Build palette from this [image/logo]" |

| Check accessibility | "Audit these colors for WCAG compliance" |

| Expand single color | "Create a full palette from #HEX" |

| Export formats | "Give me Tailwind/CSS/Figma variables" |

Color Harmony Systems

Monochromatic: Single hue with varying lightness/saturation

Analogous: Adjacent colors on color wheel (30° apart)

Complementary: Opposite colors on wheel (180° apart)

Triadic: Three colors equally spaced (120° apart)

Split-Complementary: Base + two adjacent to complement

Tetradic: Four colors in two complementary pairs

Best Practices

Deliverables Format

PALETTE NAME
Mood: [Adjectives describing the feel]

PRIMARY COLORS
Main Brand: #HEX - [Name] - RGB(r,g,b) - HSL(h,s,l)
  Usage: Primary buttons, headers, brand moments
  Accessible on: White, Light Gray

Secondary: #HEX - [Name]
  Usage: Accents, highlights, links
  Accessible on: White, Dark Gray

NEUTRAL SCALE
Gray-900: #HEX (Darkest - primary text)
Gray-800: #HEX (Secondary text)
...
Gray-100: #HEX (Lightest - subtle backgrounds)

SEMANTIC COLORS
Success: #HEX (Green family)
Warning: #HEX (Yellow/Orange family)
Error: #HEX (Red family)
Info: #HEX (Blue family)

CONTRAST RATIOS
✓ Primary on White: 4.8:1 (AA compliant)
✓ Secondary on Light Gray: 7.2:1 (AAA compliant)
✗ Warning on White: 2.1:1 (FAIL - suggest #HEX instead)

CODE EXPORT
[Tailwind config / CSS variables / Figma styles]

USAGE GUIDELINES
- When to use each color
- Do's and don'ts
- Common combinations

Tools Integration

Common Requests

Startup/Tech: Blues, grays, vibrant accents

Finance: Navy, gold, conservative palette

Healthcare: Blues, greens, calming tones

Food/Restaurant: Reds, oranges, warm palette

Eco/Sustainability: Greens, earth tones, natural

Luxury: Black, gold, deep jewel tones

Children/Education: Primary colors, bright, playful

Creative/Agency: Bold, unconventional, statement colors

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.