Conversions across 221 color spaces, tested against cited sources: CSS strings, gamut, LUTs
MCPpedia last refreshed this data
io.github.colorjs/color-space is an MCP server that conversions across 221 color spaces, tested against cited sources: CSS strings, gamut, LUTs. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 66/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"color-space": {
"args": [
"-y",
"color-space",
"mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Conversions across 221 color spaces, tested against cited sources: CSS strings, gamut, LUTs
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked color-space against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in marketing
DataForSEO API modelcontextprotocol server
Autonomous SEO and AI search for SaaS and B2B teams, run by your AI agent.
一键同步文章到多个内容平台,支持今日头条、WordPress、知乎、简书、掘金、CSDN、typecho各大平台,一次发布,多平台同步发布。解放个人生产力
AI email marketing MCP: newsletters, drip campaigns, email automation, transactional emails+CRM sync
MCP Security Weekly
Get CVE alerts and security updates for io.github.colorjs/color-space and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Open collection of color spaces.
import space from 'color-space';
space.rgb.oklch(255, 128, 0); // → [0.732, 0.186, 53] — modern CSS
space.slog3.rec2020(0.5, 0.5, 0.5); // camera log → UHD wide gamut
space.rgb.xyz(300, -10, 0); // → [59.7, 30.6, 2.8] — out-of-range in, unclamped out
// batch
space.rgb.oklch([255, 128, 0, 0, 255, 128]); // [0.732, 0.186, 53, 0.875, 0.234, 151]
// meta
space.lab.range; // [[0, 100], [-125, 125], [-125, 125]]
Individual spaces:
import oklch from 'color-space/oklch.js';
oklch.rgb(0.65, 0.25, 180); // matches CSS oklch(0.65 0.25 180)
color-space – All 221 interconnected spaces. 70 kB gzipcolor-space/<name>.js – One standalone spacecolor-space/lite – 54-space working set. 29 kB gzipcolor-space/wasm – lite set as WASM, bare .wasm includedcolor-space/gl – GLSL/WGSL shader sourcecolor-space/gl/hlsl · color-space/gl/msl – HLSL (DirectX, Unity, Unreal) and Metal, written by naga from the WGSL. await hlsl('rgb', 'oklch'). needs the optional peer naga-wasm (it declares Node ≥ 24.12; CI runs it on 22, where npm only warns)color-space/lut – .cube LUTs for Resolve, Premiere, OBS, ffmpeg — verified vs ACEScolor-space/icc – Matrix + TRC or CLUT profilescolor-space/ocio – OpenColorIO colorspaces for Blender, Nuke, Resolve, Houdini: colorspace(space.sgamut3cine), curve and matrix from native transforms, 58 spaces, each checked against the library to 1e-6; config(), or npx color-space ocio, is all of them as one config to point $OCIO at: color-space.ociocolor-space/util – parse, format CSS colors, mix, gamut, visible, deltaE, contrast (WCAG), cvd (color-vision simulation), deltaE('rgb', [255, 0, 0], [250, 0, 0])color-space/data.json – Channels, ranges, provenance, references, graph, gamutscolor-space/conformance.json – Cited reference conversions, each with its source, to test any color library against: how to run itnpx color-space rgb oklch 255 128 0 – CLI, no install: convert (default), cube, icc, space, spaces, mcp (MCP server for agents)MCP tools – convert, gamut, css, space, spaces, cube, shader, icc, code – so agents call verified math instead of guessing it. A color goes in as any CSS string ('#ff8000', 'oklch(0.7 0.1 50)', 'rebeccapurple') or as channel values; shader writes the conversion as GLSL, WGSL, HLSL or MSL, code gives the JS call and its verified colour-science equivalent.
claude mcp add color-space -- npx -y color-space mcp # Claude Code
code --add-mcp '{"name":"color-space","command":"npx","args":["-y","color-space","mcp"]}'
... [View full README on GitHub](https://github.com/colorjs/color-space#readme)