Color Shortener
Shorten 6-digit HEX codes to 3-digit codes (e.g., #FFFFFF to #FFF)
API Documentation
Request Endpoint
POST /en/api/tools/color-shortener
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| colors | textarea | Yes | - |
| format | select | Yes | - |
| includeUnshortenable | checkbox | No | Include colors that cannot be shortened with reasons |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-color-shortener": {
"name": "color-shortener",
"description": "Shorten 6-digit HEX codes to 3-digit codes (e.g., #FFFFFF to #FFF)",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=color-shortener",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]