convert_color
Convert color values between HEX, RGB, and HSL formats. Provide a HEX or RGB color to get equivalent values in all three formats.
Instructions
Convert color between HEX, RGB, and 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": {
"color": "<color>"
},
"name": "convert_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | HEX (#FF5733) or RGB (rgb(255,87,51)) |