Design
Generate tetradic color schemes with four colors arranged in rectangular patterns on the color wheel, creating rich and complex color relationships
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/color-tetrad' \
-H 'Content-Type: application/json' \
-d '{"baseColor":"#FF6B6B","rectangleType":"complementary_pairs","hueAdjustment":0,"saturationAdjust":1,"lightnessAdjust":0,"includeOriginal":false,"showHexCodes":true,"showRgbValues":true,"showHslValues":true,"generatePalette":false}'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-tetrad| Name | Type | Required | Description |
|---|---|---|---|
| baseColor | color | Yes | — |
| rectangleType | select | No | — |
| hueAdjustment | number | No | Custom angle adjustment for rectangle type |
| saturationAdjust | number | No | Multiplier for saturation (0.5-2.0) |
| lightnessAdjust | number | No | Adjust lightness (-0.3 to 0.3) |
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-tetrad": {
"name": "color-tetrad",
"description": "Generate tetradic color schemes with four colors arranged in rectangular patterns on the color wheel, creating rich and complex color relationships",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=color-tetrad",
"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-tetrad",
"arguments": {
"baseColor": "#FF6B6B",
"rectangleType": "complementary_pairs",
"hueAdjustment": 0,
"saturationAdjust": 1,
"lightnessAdjust": 0,
"includeOriginal": false,
"showHexCodes": true,
"showRgbValues": true,
"showHslValues": true,
"generatePalette": false
}
}
}Questions or issues? Contact [email protected]
| includeOriginal | checkbox | No | — |
| showHexCodes | checkbox | No | — |
| showRgbValues | checkbox | No | — |
| showHslValues | checkbox | No | — |
| generatePalette | checkbox | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}