Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Repository files navigation

COLOR LAB — Gamut Explorer

A browser-based color science instrument for exploring RGB gamuts as interactive 3D solids, inspecting the full stimulus-to-display pipeline, and building perceptual theme ramps.

Orbit gamuts from sRGB through P3 and Rec.2020 in linear RGB, CIELAB, Oklab, and related spaces. Slice volumes on arbitrary planes, hover any point to trace it through transfer curves, cone fundamentals, and chromaticity diagrams, then export CSS or DTCG design tokens with optional WCAG contrast fitting.

Built with SvelteKit 2 + Svelte 5, TypeScript, and WebGL2. Parameter sets are saved in the browser; nothing is uploaded by default.

Live site: colorlab.ferreyrapons.com

COLOR LAB — 3D gamut explorer with pipeline controls and inspector panels

Author: Sebastian Ferreyra Pons

Repository layout

Path Description
fe/ SvelteKit application (active codebase)
_docs/ Design notes, migration plans, and prototype artifacts

The legacy Sapper/Rollup prototype (fe.old/) was removed from the main branch; it remains in git history before the open-source cleanup.

Quick start

cd fe
npm install
npm run dev

Open the URL Vite prints (default http://localhost:5173).

For build, deploy, environment variables, and project structure, see fe/README.md.

Beta limitations

Color Lab is pre-release beta software (see _docs/v1-release-criteria.md). The core workflows are usable, but note:

Area Status
WebGL2 Required — no canvas/CPU fallback. Unsupported browsers will not render the 3D solid.
Ramp gamut map The terminal gamut-map step targets the active colorspace (sRGB by default). The analytic mapper is sRGB-specific; mapping to other active gamuts is planned but not yet implemented.
Non-D65 gamuts Bradford chromatic adaptation to the D65 interchange white (NTSC / Illuminant C, CIE 1931 RGB / Illuminant E). D65 gamuts unchanged.
Display gamut Assumed to be an sRGB-compliant monitor. Custom display primaries and calibration are planned for a future release.

Documentation

License

MIT. See THIRD_PARTY.md for attributed third-party code.

About

A browser-based color science instrument for exploring RGB gamuts as interactive 3D solids, inspecting the full stimulus-to-display pipeline, and building perceptual theme ramps.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.