Design
Convert HSV color values to LAB for professional color management with alpha channel support
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/hsv-to-lab-converter' \
-H 'Content-Type: application/json' \
-d '{"hsv":"Enter HSV values, one per line:\nhsv(0,100%,100%)\nhsva(0,100%,100%,0.5)\nhsb(120,100%,100%)\nhsba(120,100%,100%,0.5)\n0,100,100\n0,100,100,0.5\nH:0 S:100% V:100%\nH:0 S:100% V:100% A:0.5","format":"lab","alphaHandling":"white","customBackground":"#FFFFFF"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/hsv-to-lab-converter| Name | Type | Required | Description |
|---|---|---|---|
| hsv | textarea | Yes | — |
| format | select | Yes | — |
| alphaHandling | select | Yes | — |
| customBackground | color | No | Custom background color for alpha compositing (used when Custom Background is selected) |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}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-hsv-to-lab-converter": {
"name": "hsv-to-lab-converter",
"description": "Convert HSV color values to LAB for professional color management with alpha channel support",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=hsv-to-lab-converter",
"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": "hsv-to-lab-converter",
"arguments": {
"hsv": "Enter HSV values, one per line:\nhsv(0,100%,100%)\nhsva(0,100%,100%,0.5)\nhsb(120,100%,100%)\nhsba(120,100%,100%,0.5)\n0,100,100\n0,100,100,0.5\nH:0 S:100% V:100%\nH:0 S:100% V:100% A:0.5",
"format": "lab",
"alphaHandling": "white",
"customBackground": "#FFFFFF"
}
}
}Questions or issues? Contact [email protected]