Colour converter for Pantone C/U/TCX/TPX, hex, RGB, CMYK, Madeira Polyneon/Rayon, and Durak Polysoft/Visco.
Status: implemented. 9,149 rows across 8 systems, 52 tests passing, static GitHub Pages build. Live at https://kaanyaren.github.io/Pantone/. See IMPLEMENTATION_PLAN.md.
- Hallmark genre
modern-minimal, themeUtility (custom), macrostructureComponent Playground. - Compact function-first shell: search panel, dense result table, reference details, no marketing hero.
- IBM Plex Sans for display and body; JetBrains Mono for codes, hex, and numeric data.
- Typographic wordmark in
public/brand/logo.svg; mark inpublic/brand/mark.svg. - Favicon, Apple touch icon, web manifest, and social card live in
public/.
Requires Node 22.18 or newer. CI uses Node 24.
npm install npm run data # rebuild public/data/colors.json from data/raw npm run dev # local dev server npm test # node --test on test/**/*.test.ts npm run build # data, typecheck, then Vite build to dist/
Preview a production build with npm run preview.
public/data/colors.json and its precompressed twin public/data/colors.json.gz (served to slow networks; the client gunzips it) are generated by scripts/build-data.ts from the snapshots in data/raw/, using data/raw/manifest.json and data/LICENSES.md. The generated files are committed, so the site builds without network access.
To refresh:
- Update the raw snapshots in
data/raw/and record the change indata/raw/manifest.json. - Run
npm run data. - Run
npm testto check dataset invariants. - Commit the regenerated
public/data/colors.jsonandpublic/data/colors.json.gzwith the source change.
Do not hand-edit colors.json or colors.json.gz. A data rollback is a revert of the generated files.
GitHub Pages, built and deployed by GitHub Actions (.github/workflows/deploy.yml) on every push to main. Vite uses a relative base, so the site works at https://<user>.github.io/Pantone/.
One-time setup:
- Push the repository to GitHub with
mainas the default branch. - Go to Settings → Pages and set Source to GitHub Actions.
- Run the workflow, or push to
main, and check the deployment URL in the Actions run.
public/.nojekyll disables Jekyll processing. public/robots.txt allows all crawlers.
Add public/CNAME containing the bare domain only after the domain is live and the DNS records point at GitHub Pages. Then set the domain in Settings → Pages and enable HTTPS. A relative Vite base works unchanged at the domain root. Update the canonical, og:url, and og:image URLs in index.html to the custom domain before announcing it.