convert_color
Convert color values between hex, RGB, and HSL formats to ensure compatibility across different design and development applications.
Instructions
Convert between color formats (hex, RGB, HSL)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>",
"from": "<from>",
"to": "<to>"
},
"name": "convert_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Color value to convert | |
| from | Yes | Source color format | |
| to | Yes | Target color format |