ColourEarly2026
Chromary
Colour engineering as a reference you can read and a toolkit you can run.
Sixteen written guides, six installable agent skills, a working MCP server, nine recipes and a dependency-free playground for palettes, contrast and gradients.
- Licence
- MIT
- Version
- 1.0.0
- Primary language
- HTML
- Status
- Early
- 16Deep-dive guides
- 6Agent skills
- 9Runnable recipes
- 200+Curated resources
Colour decisions are scattered
A colour decision in a real product touches perceptual colour spaces, contrast standards, a design system’s token scale, colormaps for charts, gradients and, if the work reaches print, ink standards. Those live in different places: palette sites, contrast checkers, library documentation, and the parts of the standards nobody reads. Developers rebuild the same references each time, and language models, left to themselves, tend to invent hex values rather than compute them.
Chromary gathers the operational parts into one repository and makes them runnable rather than merely described.
Sixteen guides, one entry point
The guides are numbered and follow a fixed template: a short summary table of the best options, then each resource with what it is, why it is useful and a link. They cover perceptual spaces including OKLCH, CIE Lab and HCT, the two main contrast standards, design-system scales, colormaps, gradients, print standards and a glossary.
The fifteenth guide is a tool-selection matrix: one table that maps a task to a first-choice tool, an alternative, the skill to invoke and the guide to read. It is the fastest path from “I need a palette for a chart” to the right answer without reading sixteen documents.
Six skills and a working server
Six agent skills in the open format cover palette generation, contrast auditing, theme building, data-visualisation colormaps, gradients and image palette extraction. Each carries a trigger description so an agent loads it only when the task matches.
The MCP server is not a diagram. mcp/example-color-server is a small TypeScript server built on the Model Context Protocol SDK over standard input and output, exposing two tools: palette generation across harmony modes, and colour information with the nearest named match. It is a working example other projects can copy, and the repository keeps a registry of other colour servers alongside it, marking them as unverified until someone checks.
Nine recipes and a playground with no dependencies
The recipes are runnable code, not snippets: an OKLCH brand scale, combined WCAG and APCA contrast checks, OKLab gradient interpolation and image palette extraction in JavaScript; scientific colormaps and distinct categorical colours in Python; and token scales, mesh gradients and shadcn-ready tokens in CSS. Each carries at most one dependency.
The playground is a single self-contained HTML file. It generates palettes in four harmony modes, checks contrast against AA and AAA for normal and large text, and renders six OKLab gradient cards with a button that copies the CSS. It has no build step and loads no external script, which is deliberate: the most useful part of a colour reference is the part you can open offline and use.
- 01
\"Sixteen deep-dive guides\"
Numbered references from colour APIs to contrast standards, design-system scales, colormaps, gradients, print standards and a glossary, each following the same template so they can be scanned rather than read.
- 02
\"Six installable agent skills\"
Palette generation, contrast auditing, theme building, data-visualisation colormaps, gradients and image palette extraction, each with a trigger description so an agent loads it only when the task matches.
- 03
\"A working MCP server\"
A small TypeScript server over the Model Context Protocol exposes palette generation across harmony modes and colour information with nearest named match, as an example other projects can copy and run.
- 04
\"Nine runnable recipes\"
Brand scales, combined contrast checks, gradient interpolation and palette extraction in JavaScript, Python and CSS, each carrying at most one dependency and meant to be pasted into a project.
- 05
\"A playground with no dependencies\"
A single self-contained HTML file generates palettes, checks contrast against AA and AAA for normal and large text, and renders gradient cards with copy buttons, with no build step and no external script.
- 06
\"A tool-selection matrix\"
One table maps a task to a first-choice tool, an alternative, the skill to invoke and the guide to read, which is the shortest path from a colour question to the right answer.

- HTML
- JavaScript
- CSS
- TypeScript
- Python
- MCP
Taken from the repository. These are the things the project says it does not do, or the places it can fail.
- Several planned skills in the roadmap, including colour-vision simulation and print matching, are not written yet. The roadmap marks them unchecked.
- The bundled MCP registry flags every entry other than the example server as community-unverified and tells readers to check a third-party server before running it.
- The example MCP server calls a live colour API over the network, so it needs a working connection and the project's stated runtime.
- Contrast checking here is a calculator. It does not judge whether the resulting design reads well, and it does not replace testing with a person.
- README.md
- CHANGELOG.md
- LICENSE
- skills/palette-generator/SKILL.md
- mcp/example-color-server/index.ts
- recipes/README.md
- web/lab.html
Counts, versions and licences on this page were read from the repository at the date of writing. If a page and the repository disagree, the repository is correct. Found an error? Open an issue.