Craft Color Codes

io.github.makebead由 GitHub 帳號 makebead 發布v1.0.0更新於 Oct 24, 2026

Bead, floss, yarn, LEGO and Minecraft color codes: look up, find closest, convert between brands.

發布方自己的服務:Craft

已驗證STDIO僅桌面資料與分析媒體與設計

概覽

AI 產生的概覽

本機 MCP 伺服器,提供 15 個色盤共 3,689 個手作配色代碼(拼豆、繡線、毛線、樂高、Minecraft),可查詢、找最接近色與跨品牌換算。

可以做什麼
  • 列出所有色盤及其顏色數量與可信度狀態
  • 依人們常用的寫法查詢單一顏色代碼
  • 依 CIEDE2000 找出與某個十六進位顏色最接近的顏色
  • 把一個品牌的代碼換算成另一個品牌中最接近的對應色
  • 依顏色名稱或代碼搜尋顏色
適用情境
適合讓助理根據資料而非記憶回答手作配色問題,例如 Perler 某色號對應 Hama 哪個色號、哪個 DMC 繡線最接近指定十六進位色,或某個圖案該買哪些珠子顏色。
執行需求
透過 npx 以 stdio 在本機執行(需要 Node.js)。未宣告驗證、環境變數或標頭。色盤資料也以 JSON 與 CSV 檔案形式公開。
安裝前請注意
各色盤可信度不一:部分為社群取樣或近似值,生成類色盤並非真實產品線,因此十六進位值適合用來挑選與比較,而非精確的實物比對。僅提供唯讀查詢,不涉及憑證或寫入。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Craft Color Codes,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Craft Color Codes

[npm] [data: CC BY 4.0] [code: MIT]

English · Deutsch · 日本語 · 한국어 · Français · Español · Русский · ไทย · 简体中文 · 繁體中文 · Português (Brasil)

Hex and RGB values for 3,689 craft color codes in 15 palettes — fuse beads, seed beads, embroidery floss, diamond painting drills, yarn, LEGO and Minecraft — with where every number comes from and how far to trust it.

MakeBead turns photos into bead, cross-stitch and pixel-art patterns. These are the palettes its tools use, published so that anyone building a pattern maker, a color converter or a shopping list does not have to collect them again, and so that a wrong color gets found and fixed in one place.

Palettes

PaletteColorsStatusFilesUsed on MakeBead
Perler Beads (Midi, 5 mm)103communityJSON · CSVFree Perler Bead Pattern Maker
Hama Beads (Midi, 5 mm)92communityJSON · CSVFree Hama Bead Pattern Maker
Artkal S series (Midi, 5 mm)199communityJSON · CSVFree Artkal Bead Pattern Maker
Nabbi BioBeads (Midi)30communityJSON · CSVFree Fuse Bead Pattern Maker
MARD Beads (Midi, 5 mm) — 185 colors185communityJSON · CSVFree MARD Bead Pattern Maker
MARD Beads (Midi, 5 mm) — 221 colors221communityJSON · CSVFree MARD Bead Pattern Maker
MARD Beads (Midi, 5 mm) — 291 colors291communityJSON · CSVFree MARD Bead Pattern Maker
Miyuki Delica 11/0 (DB)1,288 (76 discontinued)measuredJSON · CSVFree Bead Loom Pattern Maker
DMC Six-Strand Embroidery Floss (Mouliné Spécial, art. 117)489cross-checkedJSON · CSVDMC Color Chart
DMC-coded diamond painting drills154cross-checkedJSON · CSVFree Custom Diamond Painting Pattern Maker
LEGO brick colors (mosaic palette)40approximateJSON · CSVFree LEGO Mosaic Maker
Minecraft blocks for pixel art53approximateJSON · CSVFree Minecraft Pixel Art Generator
Minecraft map colors (Java Edition)244officialJSON · CSVMinecraft Map Art Generator
Red Heart Super Saver (worsted)44approximateJSON · CSVFree Crochet Pattern Maker
Pixel art 256256generatedJSON · CSVFree Pixel Art Converter

MARD retail boxes (24 → 264 colors: which codes each box holds) are in data/sets/mard-kits.json.

How far to trust a palette

  • official — the maker or the game publishes these numbers, and ours match them
  • measured — measured from the maker's own material by a documented method
  • cross-checked — several independent sources compared, conflicts settled by a written rule
  • community — sampled from physical beads or photos by hobbyists, not independently checked
  • approximate — codes and names checked, colors not yet calibrated
  • generated — not a product line

No screen shows a physical bead exactly: finish, lighting and monitor all move it. Use the hex to choose and compare, and buy by the code.

Use it

Download or link the files

Every palette is a JSON file and a CSV file. Link them straight from a CDN:

https://cdn.jsdelivr.net/gh/makebead/craft-color-codes@main/data/json/dmc-floss.jsonhttps://cdn.jsdelivr.net/npm/craft-color-codes@1/data/csv/miyuki-delica.csv

JavaScript

Look up codes, find the closest color, convert between brands. No dependencies.

sh
npm install craft-color-codes
js
import { getColor, nearest, convert } from 'craft-color-codes';
getColor('delica', 'DB10'); // "DB10", "DB-010" and "10" all work// → { code: 'DB0010', name: 'Opaque Black', hex: '#131313' }
nearest('#E8A0B0', 'dmc', { limit: 3 }); // closest DMC floss to a color// → [{ code: '3354', name: 'Dusty Rose Light', hex: '#E4A6AC', deltaE: 3.62 }, …]
convert('perler', 'P38', 'hama'); // Perler P38 → Hama// → { from: { code: 'P38', name: 'Magenta', … }, matches: [{ code: 'H32', name: 'Neon Fuchsia', hex: '#FF208D', deltaE: 4.81 }, …] }

MCP server (Claude, Cursor, VS Code…)

Give an AI assistant the palettes as tools, so it answers "what is Perler P38 in Hama?" or "which DMC floss is closest to #E8A0B0?" from the data instead of from memory.

Claude Code:

sh
claude mcp add craft-color-codes -- npx -y craft-color-codes

Other clients (Claude Desktop, Cursor, VS Code):

json
{  "mcpServers": {    "craft-color-codes": {      "command": "npx",      "args": [        "-y",        "craft-color-codes"      ]    }  }}
  • list_palettes — every palette, with its status
  • get_color — one color by its code, written the way people write it
  • find_closest — closest colors to a hex color, ranked by CIEDE2000
  • convert_color — a code in one brand → its closest equivalents in another
  • search_colors — search by color name or code

Data format

Each palette file carries its own description, sources and license:

jsonc
{  "id": "miyuki-delica",  "brand": "Miyuki",  "product": "Miyuki Delica 11/0 (DB)",  "count": 1288,  "status": "measured",  "notes": "…", "sources": [ … ], "license": "CC-BY-4.0",  "colors": [    {"code":"DB0010","name":"Opaque Black","hex":"#131313","rgb":[19,19,19],"glass":"opaque"},    …  ]}
  • code — as printed on the bag, tube, skein or item
  • hex — #RRGGBB, upper case, with rgb as [r, g, b]
  • discontinued — true only for colors no longer made (Miyuki Delica)
  • palette-specific fields: sku (Perler item number), glass (Delica glass type), group, block, survival (Minecraft blocks), base, shade, buildable (Minecraft map colors)

The CSV has the same colors, one per row:

csv
code,name,hex,r,g,b,discontinued,glassDB0010,Opaque Black,#131313,19,19,19,false,opaque

Where the numbers come from

Each palette's sources, method and known weaknesses are in SOURCES.md and in the palette file's notes. Two examples of what that checking found: DMC 309 (Rose Dark) is grey-brown in the common upstream data and red here, and the Delica colors were rebuilt from Miyuki's own photos after MakeBead's earlier 39-color set turned out to draw DB0724, an opaque green, as red.

Found a wrong color?

Open an issue with the palette, the code, what you see — and if you can, a daylight photo of the bead, skein or brick next to white paper. Corrections go into MakeBead first and are republished here.

→ Report a wrong color

License

Code (src/, bin/): MIT. Data (data/): CC BY 4.0 — use it anywhere, commercial use included, with a credit. The Perler, Hama, Artkal and Nabbi values come from maxcleme/beadcolors and stay under its MIT license. Suggested credit:

Color data: craft-color-codes by MakeBead (https://makebead.com)

Perler, Hama, Artkal, Nabbi, MARD, Miyuki, Delica, DMC, Red Heart, LEGO and Minecraft are trademarks of their owners. This project is not affiliated with or endorsed by any of them. NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.

About MakeBead

MakeBead is a free pattern maker for Perler and Hama beads, cross stitch, diamond painting, loom beading, crochet, LEGO mosaics and Minecraft pixel art, in 11 languages. Every palette here is live in its tools.

來源:README.md,提交 84dbdc2

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 27, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Craft 整合