Design
Invert colors and create negative versions with RGB, HSL, and brightness inversion methods
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/color-inverter' \
-H 'Content-Type: application/json' \
-d '{"baseColor":"#4A90E2","inversionType":"rgb","batchColors":"#FF0000, #00FF00, #0000FF","includeOriginal":true,"showComparison":true}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/color-inverter| Name | Type | Required | Description |
|---|---|---|---|
| baseColor | color | No | — |
| inversionType | select | Yes | — |
| batchColors | text | No | Enter multiple colors separated by commas (e.g., #FF0000, #00FF00, #0000FF) |
| includeOriginal | checkbox | No | — |
| showComparison | checkbox | No | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-color-inverter": {
"name": "color-inverter",
"description": "Invert colors and create negative versions with RGB, HSL, and brightness inversion methods",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=color-inverter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "color-inverter",
"arguments": {
"baseColor": "#4A90E2",
"inversionType": "rgb",
"batchColors": "#FF0000, #00FF00, #0000FF",
"includeOriginal": true,
"showComparison": true
}
}
}Questions or issues? Contact [email protected]
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}