Design
Color Temperature
Adjust color temperature by shifting colors between warm (red/yellow) and cool (blue) tones, perfect for mood lighting and atmospheric effects
html· HTML resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/color-temperature' \
-H 'Content-Type: application/json' \
-d '{"baseColor":"#4A90E2","temperatureShift":0,"mode":"hue_shift","preserveLuminance":true,"showOriginal":true,"showHexCodes":true,"showRgbValues":true,"showHslValues":true,"generateVariations":false}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/color-temperatureParameters
| Name | Type | Required | Description |
|---|---|---|---|
| baseColor | color | Yes | — |
| temperatureShift | number | No | Shift towards warm (positive) or cool (negative) tones |
| mode | select | No | — |
| preserveLuminance | checkbox | No | Keep original brightness while adjusting temperature |
| showOriginal | checkbox | No | — |
MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
mcp.json
{
"mcpServers": {
"elysiatools-color-temperature": {
"name": "color-temperature",
"description": "Adjust color temperature by shifting colors between warm (red/yellow) and cool (blue) tones, perfect for mood lighting and atmospheric effects",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=color-temperature",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "color-temperature",
"arguments": {
"baseColor": "#4A90E2",
"temperatureShift": 0,
"mode": "hue_shift",
"preserveLuminance": true,
"showOriginal": true,
"showHexCodes": true,
"showRgbValues": true,
"showHslValues": true,
"generateVariations": false
}
}
}Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).
Questions or issues? Contact [email protected]