Color Utilities
live UtilityDesignConvert colors between HEX/RGB/HSL, compute WCAG contrast ratios (AA/AAA), and find the nearest CSS named color. Keyless, offline.
3 tools
0ms auth
free tier 50 calls/day
Tools
color_convert Convert 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_contrast Compute 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_color Find 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");