Design
Adjust color brightness and create variations with lighten/darken controls
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/color-lighten-darken' \
-H 'Content-Type: application/json' \
-d '{"baseColor":"#4A90E2","adjustmentType":"lighten","adjustmentValue":20,"steps":10,"includeComplementary":true,"preserveSaturation":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-lighten-darken| Name | Type | Required | Description |
|---|---|---|---|
| baseColor | color | Yes | — |
| adjustmentType | select | Yes | — |
| adjustmentValue | range | No | Adjustment amount for color brightness (-100% to +100%) |
| steps | number | No | Only applies when "Gradient (Full range)" is selected. Controls how many colors to generate in the gradient sequence (2-20 steps) |
| includeComplementary | 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-lighten-darken": {
"name": "color-lighten-darken",
"description": "Adjust color brightness and create variations with lighten/darken controls",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=color-lighten-darken",
"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-lighten-darken",
"arguments": {
"baseColor": "#4A90E2",
"adjustmentType": "lighten",
"adjustmentValue": 20,
"steps": 10,
"includeComplementary": true,
"preserveSaturation": true
}
}
}Questions or issues? Contact [email protected]
| — |
| preserveSaturation | checkbox | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}