Color Utilities
liveUtilityDesignConvert colors between HEX/RGB/HSL, compute WCAG contrast ratios (AA/AAA), and find the nearest CSS named color. Keyless, offline.
3tools
0msauth
free tier50 calls/day
Tools
color_convertConvert a color (HEX, rgb(), hsl(), or a CSS name) to all formats: HEX, RGB and HSL. Keyless, offline.
No parameters required.
Try it
Response
color_contrastCompute the WCAG 2.1 contrast ratio between two colors and whether it passes AA/AAA for normal and large text. Keyless, offline.
No parameters required.
Try it
Response
nearest_colorFind the nearest CSS named color to a given color (Euclidean RGB distance). Keyless, offline.
No parameters required.
Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/color/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Call a tool
bash
curl -X POST https://gateway.pipeworx.io/color/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"color_convert","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("color_convert", {});ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("convert colors between hex/rgb/hsl, compute wcag contrast ratios (aa/aaa), and find the nearest css named color");