Craft Color Codes

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
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.json
https://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.
npm install craft-color-codes
import { getColor, nearest, convert } from 'craft-color-codes';
getColor('delica', 'DB10');
nearest('#E8A0B0', 'dmc', { limit: 3 });
convert('perler', 'P38', 'hama');
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:
claude mcp add craft-color-codes -- npx -y craft-color-codes
Other clients (Claude Desktop, Cursor, VS Code):
{
"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
Each palette file carries its own description, sources and license:
{
"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:
code,name,hex,r,g,b,discontinued,glass
DB0010,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.