Design
Generate darker variations of a color by adding black, creating rich shades for depth and contrast in design
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/color-shade' \
-H 'Content-Type: application/json' \
-d '{"baseColor":"#FF6B6B","shadeMethod":"linear","shadeCount":5,"intensity":0.8,"stepType":"equal","customSteps":"","includeOriginal":true,"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-shade| Name | Type | Required | Description |
|---|---|---|---|
| baseColor | color | Yes | — |
| shadeMethod | select | No | — |
| shadeCount | number | No | How many shade variations to generate |
| intensity | number | No | Maximum darkness (0.1-1.0) |
| stepType | select | 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-shade": {
"name": "color-shade",
"description": "Generate darker variations of a color by adding black, creating rich shades for depth and contrast in design",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=color-shade",
"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-shade",
"arguments": {
"baseColor": "#FF6B6B",
"shadeMethod": "linear",
"shadeCount": 5,
"intensity": 0.8,
"stepType": "equal",
"customSteps": "",
"includeOriginal": true,
"showHexCodes": true,
"showRgbValues": true,
"showHslValues": true,
"generatePalette": false
}
}
}Questions or issues? Contact [email protected]
| customSteps |
| text |
| No |
| Comma-separated values (e.g., 0.1,0.3,0.5,0.7,0.9) |
| 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"
}
}