Build Color Palette logo

Build Color Palette

Community
gnurio
build-color-palette

Create comprehensive palette with 8-10 greys, 5-10 primary, 5-10 accent shades

Overview

Publishergnurio
Repositoryrefactoring-ui-plugin
Skill namebuild-color-palette
Stars
453
Forks
16
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by gnurio on GitHub. Read the source before you install it.

Installation

Install the Build Color Palette AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/gnurio/refactoring-ui-plugin/tree/main/skills/03-build-color-palette
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gnurio/refactoring-ui-plugin.git /tmp/refactoring-ui-plugin
mkdir -p .claude/skills
cp -r /tmp/refactoring-ui-plugin/skills/03-build-color-palette .claude/skills/build-color-palette
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Build Color Palette in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Build Color Palette on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Build Color Palette is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skill: Build Color Palette

Purpose

Create a comprehensive, systematic color palette with sufficient shades to build realistic interfaces (8-10 greys, 5-10 primary shades, 5-10 accent shades).

Type

Generative + Evaluative

Input

  • Brand color(s) or design mood/intent
  • UI complexity (simple landing page vs. complex dashboard)
  • Required semantic meanings (success, error, warning, info)
  • Need for categorical colors (charts, calendars, tags)

Output

  • Color palette specification with multiple shades per color
  • Role assignment for each shade
  • Usage guidelines
  • Pass/Fail assessment of existing palette

Transformation Performed

Maps functional needs to a comprehensive palette organized into three categories (greys, primary, accents), each with 5-10 distinct shades.

Decision Criteria

PASS (Good Color Palette)

  • Greys: 8-10 shades - For text, backgrounds, panels, form controls (majority of UI)
  • Primary: 5-10 shades - One or two core colors for primary actions, active navigation
  • Accent: 5-10 shades each - For semantic states (red, yellow, green), new features, categorization
  • Systematic shades: Each color has light to dark variants defined upfront
  • Clear hierarchy: Primary color defines overall look; accents used sparingly
  • Sufficient contrast: All text meets WCAG AA (4.5:1 for normal, 3:1 for large)
  • Not using opacity: Explicit hex values for all shades

FAIL (Poor Color Palette)

  • Too few greys (3-4 shades leading to compromises)
  • Missing shades of primary color (can't create hover states, subtle backgrounds)
  • Not enough accent colors for semantic states and categorization
  • Using opacity (rgba) instead of defined shades (inconsistency)
  • Missing systematic shade progression (arbitrary light/dark variants)
  • Insufficient contrast for accessibility

The Palette Structure

Greys (8-10 shades)

The majority of your UI is grey. You need more than you think.

White / Near-white: #FFFFFF, #F9FAFB
Gray 100: #F3F4F6 - Subtle backgrounds
Gray 200: #E5E7EB - Borders, dividers
Gray 300: #D1D5DB - Disabled states
Gray 400: #9CA3AF - Placeholder text
Gray 500: #6B7280 - Secondary text
Gray 600: #4B5563 - Body text
Gray 700: #374151 - Strong text
Gray 800: #1F2937 - Headings
Gray 900: #111827 - Near-black text

Start with dark grey (not true black) and work up to white in steady increments.

Primary Colors (5-10 shades)

One or two colors that define the overall look of your site.

Primary 50: Ultra-light (alert backgrounds)
Primary 100: Very light (subtle backgrounds)
Primary 200-300: Light (hover states)
Primary 400-500: Base (buttons, links)
Primary 600-700: Dark (hover text, emphasis)
Primary 800-900: Very dark (text on light)

Accent Colors (5-10 shades each)

Used sparingly to grab attention or communicate meaning.

ColorUse Case
RedDestructive actions, errors, warnings
Yellow/AmberNew features, caution, highlights
GreenSuccess, positive trends, confirmation
Teal/Pink/PurpleFeature highlights, categorization, calendars

Each accent needs 5-10 shades just like primary colors.

Visual/UX Signals Used

  1. Shade progression: Steady increments from light to dark
  2. Grey dominance: Greys are the foundation; colors accent
  3. Semantic meaning: Red = danger, Green = success, Yellow = warning/feature
  4. Contrast ratios: Higher contrast = more importance or readability
  5. Sparingly used: Primary and accents used intentionally, not everywhere

Common Failure Modes

FailureDescriptionFix
5-Color GeneratorUsing only 5 hex codes for entire UIBuild comprehensive palette with 8-10 greys, 5-10 primary shades, 5-10 accent shades
Too Few Greys3-4 grey shades leading to compromisesExpand to 8-10 greys from near-white to near-black
Opacity for ShadesUsing rgba() to create lighter/darkerDefine explicit hex shades upfront for consistency
Missing Hover StatesNo lighter/darker variants for interactionsEach interactive color needs 5-10 shades
Missing Semantic ColorsOnly brand colors, no red/yellow/greenAdd accent colors for errors, warnings, success
Too Few Accent ShadesOnly one shade of red/green/yellowEach accent needs 5-10 shades for flexibility
True Black TextUsing #000000 (harsh)Start with #111827 or #1F2937

Prerequisites

  • Brand guidelines or base color
  • Understanding of UI states (errors, success, hover, etc.)
  • Knowledge of categorical needs (charts, tags, etc.)

Dependencies

  • establish-visual-hierarchy (colors support hierarchy)
  • manage-color-contrast (accessibility requirement)

Refactoring UI References

  • "You need more colors than you think"
  • "Define your shades up front"
  • "Greys are the majority of your UI"
  • "Don't use opacity to create lighter colors"
  • "Build a comprehensive palette, not 5 hex codes"

Shade Definition Method

For each color, define shades by adjusting lightness in HSL:

  • Ultra-light: 95-98% lightness (backgrounds)
  • Light: 80-90% lightness (hover backgrounds)
  • Base: 45-55% lightness (buttons, links)
  • Dark: 20-35% lightness (text, emphasis)
  • Very dark: 10-15% lightness (headings)

Example Assessment

Input: Palette with only: Brand Blue #0066FF, Light Blue #E6F2FF, White, Grey #999999, Black

Evaluation: FAIL

  • Only 2 blue shades (need 5-10)
  • Only 1 grey (need 8-10)
  • Missing semantic colors (red, yellow, green)
  • Missing accent shades

Recommendation: Build comprehensive palette:

Greys (10): #F9FAFB, #F3F4F6, #E5E7EB, #D1D5DB, #9CA3AF, #6B7280, #4B5563, #374151, #1F2937, #111827

Primary Blue (8): #EFF6FF, #DBEAFE, #BFDBFE, #93C5FD, #60A5FA, #3B82F6, #2563EB, #1D4ED8

Accents (7-8 each):

  • Red: #FEF2F2... #991B1B (for errors, destructive)
  • Yellow: #FFFBEB... #92400E (for warnings, new features)
  • Green: #F0FDF4... #166534 (for success, positive)

Total: 10 greys + 8 primary + 21 accents = 39 shades organized systematically

Frequently asked questions

What does the Build Color Palette AI skill do?

Create comprehensive palette with 8-10 greys, 5-10 primary, 5-10 accent shades

Why use Build Color Palette on TypingMind?

Because you install it once and use it with any model. Build Color Palette is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Build Color Palette in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/gnurio/refactoring-ui-plugin/tree/main/skills/03-build-color-palette. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Build Color Palette?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Build Color Palette?

As many as you like. As long as a model supports skills, you can use Build Color Palette with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Build Color Palette AI skill free?

It is published on GitHub by gnurio. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇