Xxd Palette Builder

Turns one traditional Chinese color, a HEX code or a mood into one to three ready-to-use palettes with roles, ratios and risk notes.

Design & Coverscolor paletteschinese traditional colorsdesignbrandingby nevertoday1.2kGitHub

What it is

Palette Builder is for designers, marketers and content creators who want to work with Chinese traditional colors but end up with a pile of attractive swatches and no idea which combination is safe to use. You give it a starting point: a traditional color name such as 藤黄 (rattan yellow), a HEX code, a mood, a brand, or a surface like a poster, app screen, package or content series. It comes with a bundled dataset of 742 named Chinese colors, so every color it suggests has a real name and code.

Rather than listing every harmony it can find, it first picks a strategy: reliability, identity, contrast, or a series with stable neutrals and rotating accents. It then builds up to three options, a safe one, a character one with the strongest traditional feel, and a riskier high-contrast one, using the dataset's precomputed relationships such as adjacent, complementary and gray-toned pairings. Each color gets a job (main, support, neutral, accent, warning or background) and a share of the design before you see it. Outside HEX codes are mapped to the nearest named color and labeled as a match.

You end up with role tables listing color name, HEX, ratio, source relationship and reason, notes for backgrounds, text, buttons and decoration, a warning for each option (contrast, dark mode, print color drift, over-saturation or cultural cliche), and one final pick with the reason it wins. It stops at the palette: detailed placement on a layout and accessibility fixes are left as next steps. Color names are in Chinese.

What it can do

  • Builds one to three palettes from a color name, HEX code, mood, brand or design surface.
  • Gives every color a role, such as main, support, neutral, accent, warning or background, plus a share of the design.
  • Offers a safe option, a strongly traditional option and a bolder contrast option, then recommends one.
  • Uses only colors from a bundled set of 742 named Chinese traditional colors with HEX codes.
  • Maps any outside HEX code to the closest traditional color and labels it as a match.
  • Flags risks for each palette, such as weak contrast, dark mode problems, print drift or cliche.

When to use it

  • You love the color 藤黄 and want a usable palette built around it for a tea brand's social media posts.
  • A client wants a poster that feels Eastern but not old-fashioned, and you need two or three defensible color options.
  • Your brand color is #3A6EA5 and you want to know which traditional colors work with it as support and accent.
  • You run a weekly content series and want fixed neutral colors with a different accent each week.

How it works

  1. 1Reads your starting point and decides whether it is a color, a mood or a surface such as a poster, app or package.
  2. 2Picks a strategy (reliable, identity-led, high-contrast or series) based on where the colors will be used.
  3. 3Looks up harmony relationships in its bundled color table, a spreadsheet of 742 colors with precomputed matches.
  4. 4Builds up to three options, assigns roles and ratios, and writes a usage warning for each.
  5. 5Recommends one final palette and explains why, unless you asked to keep alternatives.

Try asking

“Build a palette around 藤黄 for a tea brand's social media posts.”
“I want a calm, premium Chinese traditional color palette for a skincare landing page.”
“Our brand color is #3A6EA5. Which traditional Chinese colors work with it as support and accent?”
“Give me a safe option and a bold option for a Mid-Autumn Festival poster palette.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/nevertoday/zhongguo-traditional-colors/tree/main/skills/xxd-palette-builder
pnpm
pnpm dlx skills add https://github.com/nevertoday/zhongguo-traditional-colors/tree/main/skills/xxd-palette-builder

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the xxd-palette-builder folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/nevertoday/zhongguo-traditional-colors.git
mkdir -p ~/.claude/skills
cp -r zhongguo-traditional-colors/skills/xxd-palette-builder ~/.claude/skills/xxd-palette-builder

Then just ask in plain language, for example: “Build a palette around 藤黄 for a tea brand's social media posts.”